Results 1 to 2 of 2

Thread: Thumb Viewer Enlarge Using Different Thumb and Source Image

  1. #1
    Join Date
    Feb 2010
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thumb Viewer Enlarge Using Different Thumb and Source Image

    1) Script Title: Image Thumbnail Viewer II

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...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!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •