Results 1 to 4 of 4

Thread: Image display

  1. #1
    Join Date
    Jan 2009
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Image display

    1) Script Title: Presentational Slideshow Script- By Dynamic Drive


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

    3) Describe problem: On this website : http://americanfinancialinsurance.com/2/

    I have intalled this slideshow script, but I cannot get any of the images to display. I am (obviously) new to using scripts. I have tried a couple of the slideshow scripts and I cannot get the images to display even though I have added the absolute URL's of the images.

    I suspect there is something very fundamental I am doing wrong, but I do not what it is.

    I would surely appreciate any help.

    Sincerely

    Michael

  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 appear to be at least two issues:

    • The text of the script has wrapped or failed to wrap in one or more places where it does not in the demo code. In many cases this will be OK, in many others it will break the script.
    • One or more of the images do not appear to be on the server. This could be because they are in a different location than specified in your code, you forgot to upload them, or they are there but the upper/lower case of their paths and/or filenames does not agree with that listed in the code. This last will be ignored locally on a test page, but usually never on a live page.


    For the first issue, use a text only editor like NotePad with text wrap turned off to insert the script code.

    For the second, make sure that you may navigate directly to the image(s) by inserting their address into the address bar of the browser and hitting enter.
    - John
    ________________________

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

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

    MichaelZ (01-08-2009)

  4. #3
    Join Date
    Jan 2009
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thank you very much John.

    I will edit my page in a text editor with no word wrap.

    Just to be sure, when I enter the absolute URL's of the images into the script code do I use the double quote around the URL

    "http://www.mydomain.com/images/photo.jpg"

    Sincerely

    Michael

  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

    Do it just like it is shown on the demo page:

    Code:
    var dropimages=new Array()
    //SET IMAGE PATHS. Extend or contract array as needed
    dropimages[0]="image1.gif"
    dropimages[1]="image2.gif"
    dropimages[2]="image3.gif"
    So yes. For example:

    Code:
    var dropimages=new Array()
    //SET IMAGE PATHS. Extend or contract array as needed
    dropimages[0]="http://www.mydomain.com/images/photo.jpg"
    dropimages[1]="image2.gif"
    dropimages[2]="image3.gif"
    - 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
  •