Results 1 to 5 of 5

Thread: Thumbnail Viewer 2 Help

  1. #1
    Join Date
    May 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thumbnail Viewer 2 Help

    1) Script Title: Thumbnail Viewer 2

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

    3) Describe problem:

    I have created a page with images on and I have used this script to view enlarged versions. All is ok when I preview the page in my browser, all thumbnails link to enlargements like shown as the example on the url above. The problem is when I upload to my server none of the images show eg, the thumbnails or the enlargements. I have gone over the links and they are all correct. I have used the thumbnails on other pages and they seem to work so it can't be a spelling/root/directory problem.

    Here is a link for you to see the problem: Linky

    I'm stumped!!!
    Last edited by billythetidd; 05-16-2008 at 03:29 PM.

  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

    It could be, these things become trickier once on the server. Differences in upper and lower case in paths and filenames, ignored on the local machine, will not be on the server. The same is true of mistakenly using the \ symbol in a path instead of the / symbol. And paths that might be valid locally for other reasons (exact placement of the files visa vis the path's actual meaning), but not be the same on the server.

    You also may have simply neglected to upload the images. There can, in rare cases be issues with the server itself relating to file permissions, but that's probably not the case here.

    If you need more help:

    Please post a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

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

  3. #3
    Join Date
    May 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    It could be, these things become trickier once on the server. Differences in upper and lower case in paths and filenames, ignored on the local machine, will not be on the server. The same is true of mistakenly using the \ symbol in a path instead of the / symbol. And paths that might be valid locally for other reasons (exact placement of the files visa vis the path's actual meaning), but not be the same on the server.

    You also may have simply neglected to upload the images. There can, in rare cases be issues with the server itself relating to file permissions, but that's probably not the case here.

    If you need more help:

    Please post a link to the page on your site that contains the problematic code so we can check it out.
    Thanks for the speedy reply. I know it's not the images as I have thumbnails on other pages and they work fine. Here is a link to the page/pages in question.

    Link

    I think the possible explanation is that sometimes things work differently when uploaded to a server, although I have never experienced that before.

  4. #4
    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

    It is as I said. This image exists, for example:

    Code:
    http://www.jewelleryboxinverkip.co.uk/images/large/Earrings/e1-1_large.jpg
    But not this one (as pointed to in your source code):

    Code:
    http://www.jewelleryboxinverkip.co.uk/images/large/earrings/e1-1_large.jpg
    by:

    Code:
    href="images/large/earrings/e1-1_large.jpg"
    I suspect that this sort of typo has crept in many places in your code.
    - John
    ________________________

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

  5. #5
    Join Date
    May 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yeah, just as you posted that I found the problem. Thanks for the help. I remember that suggestions if anything happens in the future.

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
  •