Results 1 to 5 of 5

Thread: Script: Presentational slideshow script

  1. #1
    Join Date
    Aug 2012
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Script: Presentational slideshow script

    My images show in IE preview, but after upload I only see empty box with X...except last image in list does appear. What am i missing?

  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

    There's usually a difference between upper and lower case letters in paths and filenames on the web, while locally this isn't usually so.

    So if you have an image:

    one.JPG

    and you reference it locally as:

    one.jpg

    it will still work. While on the web it must be referenced as:

    one.JPG

    That's probably your answer, though the exact difference(s) in filenames' upper and lower case letters could be anything. If that's the problem, either rename the files or change how they're referenced in your code so that they agree.

    The browser cache may need to be cleared and/or the page refreshed to see changes.

    And it's possible there are other problems in addition to or instead of this one.

    If you want more help, please include 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
    Aug 2012
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    John, awesome - that did the trick!! I pondered this all afternoon and never saw that...the upper case .JPG.
    Thank you very much for your quick response.
    One other thing - on the script section to "unlink" the images, the first image in my list is marked accordingly - droplinks[0]="" , however it is still linking to my site url. It doesn't seem to be hurting anything, but I'd like to remove the link.
    Again, thanks for your expertise.

  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

    That's not how the script behaves. If that field is truly empty as you show in your post, no link is created. Perhaps you have a space character in there:

    Code:
     droplinks[0]=" "
    That might cause what you're experiencing. Otherwise, and even at that I'm just guessing, if that doesn't take care of it for you, I would need a link to the live page to figure it out.
    - John
    ________________________

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

  5. #5
    Join Date
    Aug 2012
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thank you; i'll look at this again. Will come back to you if i cannot find the gliche.

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
  •