Results 1 to 5 of 5

Thread: Ultimate Fade-In SlideShow-Black Box instead of images on live site

  1. #1
    Join Date
    Jul 2010
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade-In SlideShow-Black Box instead of images on live site

    1) Script Title: Ultimate Fade-in Slideshow v2.4

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

    3) Describe problem: On my computer testing this works fantastic. Uploaded to live site and just have black box instead of images in IE, FF, Chrome, Opera, and Safari. Why does it work local but not live?

    I must have a conflict but don't know where to look for it. Any suggestions would be appreciated.

  2. #2
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    I suggest you post a link to the site. Otherwise it is impossible for anyone to know what is wrong.

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

    marlee (07-18-2010)

  4. #3
    Join Date
    Jul 2010
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Sorry, long night. Had to replace my problem page with an alternate page but you can still get to it at www.mortoncu.com when at the home page click on the link for home. I know that is kinda like hiding it in plain sight but I am hoping most people won't click on home when they are already on home page. Again, any help would be appreciated.

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

    Upper and lower case letters used in paths and filenames almost always matter on the web and almost always do not on the local machine. Here is your image array:

    Code:
    imagearray: [
    ["images/Ads/bills ad.jpg", "", "", ""],
    ["images/Ads/car loan ad.jpg", "", ""],
    ["images/ads/Mem Access.jpg"],
    ["images/ads/Morton Credit Union Design Ad.jpg","","",""],
    ["images/ads/Pocket Change Ad.jpg", "", "", ""] //<--no trailing comma after very last image element!
    ],
    There is no folder:

    images/ads/

    It's:

    images/Ads/

    Once you fix that, none of the images are there because they all end in (in your code):

    .jpg

    But on the server, they all end in:

    .JPG

    Fix all that and:

    Pocket Change Ad

    is really:

    Pocket Change ad

    I think I got all of them.

    What you need to do is either change the code in the script to reflect the actual paths and filenames for these images, and/or change the paths and filenames to reflect how these are represented in the script code.

    Generally it's best to just keep everything lower case, avoids confusion. I believe some servers even enforce that. Obviously yours does not.

    The easiest thing here would be to change the code to reflect the actual path and filenames:

    Code:
    imagearray: [
    ["images/Ads/bills ad.JPG", "", "", ""],
    ["images/Ads/car loan ad.JPG", "", ""],
    ["images/Ads/Mem Access.JPG"],
    ["images/Ads/Morton Credit Union Design Ad.JPG","","",""],
    ["images/Ads/Pocket Change ad.JPG", "", "", ""] //<--no trailing comma after very last image element!
    ],
    Once again, I think I got them all.

    But in the long run you would be better off sticking to lower case wherever and whenever possible.
    - John
    ________________________

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

  6. The Following User Says Thank You to jscheuer1 For This Useful Post:

    marlee (07-18-2010)

  7. #5
    Join Date
    Jul 2010
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Smile

    John, Thank you so much! This is fantastic. Works exactly like I want it to work thanks to you. I am learning that alot of things work differently on my computer vs live site. I do so appreciate this forum and the fact that so many knowledgeable and experienced folks are so willing to help out so many new and inexperienced folks. You make me smile!

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
  •