Log in

View Full Version : how I can put a different image folder link?



gill_bin
08-13-2010, 04:33 AM
Hi Folks
In below gallery
http://www.dynamicdrive.com/dynamicindex4/php-photoalbum.htm

Please tell me, how I can put a different image folder link, for thumb nail images.
Thanks

Beverleyh
08-13-2010, 11:37 AM
Put the "getalbumpics.php" file in the thumbs folder and create another folder containing larger versions of the images with the same file names.

Then on your calling page change this;

onphotoclick:function(thumbref, thumbindex, thumbfilename){
thumbnailviewer.loadimage(thumbfilename, "fit2screen")
}
to this;

onphotoclick:function(thumbref, thumbindex, thumbfilename){
thumbnailviewer.loadimage("http://www.mysite.com/larger_images/" + thumbfilename, "fit2screen")
}

gill_bin
08-14-2010, 04:32 AM
Thanks Dear.
Thanks for your support.