How to get image URL from its path in media manager?

@russian-dima Not really…
I need the HTTP Url, not the Wix URL, but in fact, the most important problem here is not what to get but rather how to get it, just from the information I have.
Let me rephrase the problem…
Before switching to wix, my website was implemented on Joomla.
I had hundreds of pictures which were accessible through a simple HTTP Url like http://www.mysite.com/images/folder1/folder2/image.jpg
Now, my domain has been transferred to wix and of course, the response for the Url above is a nice 404, since you cannot access image this way with wix, so far.
The first solution is to create 301 redirections, but I would need to do that for each single image from http://www.mysite.com/images/folder1/folder2/image.jpg to something like
https://static.wixstatic.com/media/e50527_fa26dd116fdf4bf08a5d8fac30f9dc14~mv2.jpg
You can imagine it is not conceivable.

Then, the second idea would be to use a router hook, like beforeRouter - or something like that - then catch the url like /images/folder1/folder2/image.jpg , extract the path from the query string (i.e. folder1 > folder2 > image.jpg), and ask the media manager for the image HTTP Url based on this path.
Knowing I have uploaded all my images in the same folder structure in the media manager as in my legacy joomla web site.
But it appears, the getFileUrl() API takes only the file name as input parameter, but not the original name as “image.jpg”, but rather the wix name as " e50527_fa26dd116fdf4bf08a5d8fac30f9dc14~mv2.jpg "
Thus, I really don’t know how to map my file path to an http url…
unless I missed something…

But if someone from wix team reads this, would it be possible to improve the media manager API to get a file URL from its path?
Or just let a request like http://www.mysite.com/images/folder1/folder2/image.jpg render the corresponding image knowing it is located in “/images/folder1/folder2” in the media manager?