Can we get uploaded image path in wordpress by filename?
Actually I know the way in PHP that will parse all files in the **uploads** folder, and matches the each file. But that way will produce high load on server, whenever I will run this script.

Is there any other possible way?

Thanks.