PDA

View Full Version : Thumb Viewer Enlarge Using Different Thumb and Source Image



mondealenvers
02-12-2010, 03:13 PM
1) Script Title: Image Thumbnail Viewer II

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

3) Describe problem: I am using this script and it's great, but can one alter it to have a thumbnail image (X.jpeg) enlarge onclick to a different image (Y.jpeg)?

Here are two sample pages using the existing script:
http://www.katalinperry.com/KPNEW/objetspapiers.html
http://www.katalinperry.com/KPNEW/peinture.html

The script only seems to work when the thumb and enlarged image are the same image. I'd like the thumb and enlarging image to be different.
Thanks!

jscheuer1
02-12-2010, 05:51 PM
That's how the demo page for the script works. The thumbnails are different (smaller versions, but different files) from the larger images. The problem on this page:

http://www.katalinperry.com/KPNEW/objetspapiers.html

is that the larger images are 404 not found. This could be because they are not there, or are in a different location, or because of a disagreement between upper and lower case letters as used in the paths and filenames/extensions and those as listed in your code.