If you look at the URLs , the images have a specially constructed url wrapped round them…
"/wiki/File:some-image.jpg"
You could do something similar with the router and a virtual page that triggers on File: or something similar being in the URL. You can then feed the images meta file field data through to the virtual page as if it was page data.
Shouldn’t be too hard.
Just dont do it on direct hits to the image, as you break the normal usage of images i think.