ZenphotoCMS Forum
URL to Custom size thumbnail with mod_rewrite on - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: URL to Custom size thumbnail with mod_rewrite on (/thread-1273.html)



URL to Custom size thumbnail with mod_rewrite on - edasque - 2007-03-12

Before I set up mod_rewrite, I used this type of URL to include custom sized thumbnails into my blog:

http://www.generalmagic.org/gallery/zen/i.php?a=Others%2FLinked+To&i=IMG_7721_2_3_4_5.jpg&s=295

Now with mod_rewrite set up, my URLs look like this:

http://www.generalmagic.org/gallery/cache/Portfolio%202007/Rassain/Magentir.jpg
or

http://www.generalmagic.org/gallery/cache/Portfolio%202007/Rassain/Magentir.jpg_595.jpg

Is it still possible for me to link to custom size thumbnails with the new URL scheme ?

Erik




URL to Custom size thumbnail with mod_rewrite on - trisweb - 2007-03-12

Yep! They still work in the old form.

If you find images that haven't been processed before, then you'll see the first time they're loaded, they have the i.php URL, and after processing they're served directly from the /cache folder, which is more efficient. Best of both worlds!