Results 1 to 5 of 5

Thread: Thumbnailviewer works for only some of the images, please help!

  1. #1
    Join Date
    Apr 2015
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thumbnailviewer works for only some of the images, please help!

    1) Script Title: Thumbnailviewer

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

    3) Describe problem: I made a gallery which contains 7 albums, all of them are using the thumbnailviewer. Now 5 of them are working just fine, but the two largest albums won't work. The first album (Jubileumconcert) isn't showing all of the thumbnails (scrolling down you see only 4 out 35) but when you click the empty spaces a large picture does come up. The other album (Laatste repetitie) only shows 1 of 18 thumbnails, and none of the enlargments work. Local everything is working perfect, but after uploading it just doesn't...
    The website I'm referring to is http://www.staendetuygh.nl/foto2.htm. The back arrow at the bottom of the albums brings you to the "under construction"page, so please use the back arrow from your browser.
    I'm just an amateur and English is not my native language, so please keep the answer simple :-)
    Last edited by Beverleyh; 04-13-2015 at 04:34 PM. Reason: formatting

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    The images are not on the server in the location specified. For example, on the Jubileum Concert page, the relative path to the first small image is in your markup as this: "images/Jubileum/01ST01_small.jpg",
    which means the same as http://www.staendetuygh.nl/images/Ju...ST01_small.jpg (in relation to your page) <-- click on the link and you can see the image doesn't exists.

    So, things to check/try;

    - make sure the small images are where you say they are on the server (check that they are uploaded to the correct folder)
    - try using absolute paths (e.g http://www.staendetuygh.nl/images/Ju...ST01_small.jpg) as that might help you troubleshoot
    - check that the file names match those defined in the markup ("01ST01_small.jpg" is not the same as "01ST01_SMALL.jpg", or "01ST01_small.JPG")
    - check that the file extension are correct (maybe you're mixing jpg and jpeg?)
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. The Following User Says Thank You to Beverleyh For This Useful Post:

    mountain90 (04-18-2015)

  4. #3
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    To confirm, on the Laatste repetitive page, the images in your markup start with a lowercase "a" BUT the actual filenames start with a capital "A". Correct the filenames and they work fine.

    The most likely reason this works locally, but not online, is due to operating system differences. Windows (I'm guessing you're working locally on a Windows computer) is NOT case-sensitive, whereas a UNIX-based web host server IS case-sensitive - so things work with the filename differences on your local computer but they break on your web host's server.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  5. The Following User Says Thank You to Beverleyh For This Useful Post:

    mountain90 (04-18-2015)

  6. #4
    Join Date
    Apr 2015
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you soooo much! It was all about using capitols and regular letters, never knew it made that difference... You're a life saver!! Thanks!

  7. #5
    Join Date
    Jan 2015
    Location
    Ha Noi
    Posts
    1
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thanks Bever so much! It's also my problem... Done!!

Similar Threads

  1. Replies: 3
    Last Post: 09-12-2013, 12:11 AM
  2. IE error when using Thumbnailviewer 2
    By azoomer in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 05-10-2010, 10:26 AM
  3. thumbnailviewer.js
    By sprog in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 11-26-2009, 07:12 PM
  4. thumbnailviewer
    By colorinotturni in forum JavaScript
    Replies: 1
    Last Post: 03-14-2008, 03:49 PM
  5. need help editing thumbnailviewer.js
    By dmccaulley in forum Dynamic Drive scripts help
    Replies: 10
    Last Post: 02-26-2007, 05:18 AM

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
  •