View Full Version : Slideshow - will only show three pictures. How can I show more pics?

03-15-2009, 10:16 PM
1) Script Title: Ultimate Fade-in slideshow (v1.51)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem: My slideshow is only showing three pictures even though I added another line which should tell it to pull a forth picture.


var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["images/photo1.jpg", "", ""]
fadeimages[1]=["images/photo2.jpg", "", ""]
fadeimages[2]=["images/photo3.jpg", "", ""]
fadeimages[3]=["images/photo4.jpg", "", ""]

I added the last line, but it does not seem to work.

And here is the other code in another php file:

//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
new fadeshow(fadeimages, 371, 231, 0, 4000, 1, "R")

03-16-2009, 01:13 PM
This is going to drive me crazy...I am sure I am just missing something small.

03-16-2009, 11:44 PM
I found the problem....thanks