I'm trying to get an asset via path, but it returns nothing. With Assets:all() I get an array with all assets and when I copy a path from one asset in the array and paste it into wherePath, like Asset::wherePath('img/example.jpg') also nothing is returned. Am I using it wrong?

Answered by Jason Varga! Go to answer.