PDA

View Full Version : Image display



MichaelZ
01-08-2009, 10:43 PM
1) Script Title: Presentational Slideshow Script- By Dynamic Drive


2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/presentationslide.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

jscheuer1
01-08-2009, 11:27 PM
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.

MichaelZ
01-08-2009, 11:38 PM
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

jscheuer1
01-09-2009, 05:34 AM
Do it just like it is shown on the demo page:



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:


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"