Hi all,
I would like to redirect people that have linked images from my old gallery to the new image location inside Gallery2.
Therefore I'm writing a small php script which works fine for albums etc. that redirects visitors to Gallery2.
For single images, I extract the name from the file name, look up its ID in the Gallery2 DB and send the visitor to
/gallery/myfile.php?g2_itemId=1234
This works perfectly fine, but I would like to show the browser "friendly" url from the url_rewrite module in the browser e.g.
/gallery/v/album/this_is_your_image.jpg.html
as I don't know in which album my image resides, I cannot create this url from outside Gallery easily.
Is there a simple way to do this?
thanks!
MU.