PDA

View Full Version : Help with adding more pictures



dpilli
02-04-2005, 04:42 PM
Script: DD: Preloaded Slide Show Script
http://www.dynamicdrive.com/dynamicindex14/preloadslide.htm

Hello, this is my first time in the forum.

I am using this script, but the demo is set to 3 images. If I add more, they all play out fine until the end when it then tries to find another image after the last one. This causes the show to jam. I don't know if I am to change a setting somewhere to make it work with more photos.

Any help is appreciated

daniel

cr3ative
02-04-2005, 05:00 PM
Hi Daniel,

Please post a link to your troubled website, or post your code (please wrap it with
and )

cr3ative

dpilli
02-04-2005, 05:17 PM
http://gdnp.com.au/lmc/shows/slide/slideshow.htm

This is my site.

The area where I am having trouble is this:

<code>
// PUT THE URL'S OF YOUR IMAGES INTO THIS ARRAY...
var Slides = new Array('images/Photo 1.jpg','images/Photo 2.jpg','images/Photo 3.jpg','images/Photo 4.jpg','images/Photo 5.jpg','images/Photo 6.jpg','images/Photo 7.jpg');
</code>

Originally the demo had 3 images in it which works fine if I just have 3, but I have added more, and now it does not work fine.

Thanks.

cr3ative
02-04-2005, 05:53 PM
Works OK for me, but Photo 7.jpg does not exist - you need to re-upload that file.

cr3ative

ChasDevlin
02-04-2005, 06:00 PM
Ii just tried this script with 7 images and it worked fine. I also noticed that the naming convention for your images in the var Slides array has a gap between 'photo' and its number.

It may have nothing do with why some images are not working but still...

You can check the page I did at:
http://sleazerama.com/anton/move.html

dpilli
02-04-2005, 06:01 PM
ok, thanks I did not check that

and thanks for your prompt replies, I appreciate it.