View Full Version : Carousel Slideshow help

02-21-2006, 09:50 PM
:mad: Carousel Slideshow help


I cannot figure how to place my pictures inside if the carousel??? Where in the scripts do I place my photos? Do I have to resize them? Also how many photos can I display?

Thank you

Brian Carr

02-21-2006, 11:36 PM
Not sure which Carousel you are talking about, so I picked the first one. Here is where they go:

Car_Image_Sources=new Array(
"photo3.jpg","", //this slide isn't linked
"photo4.jpg","http://www.codingforums.com" // NOTE No comma after last line

For future:
Warning: Please include a link to the DD script in question in your post.
PLEASE: Include the URL to your problematic webpage that you want help with.

02-22-2006, 02:12 AM
Thanks Mad Professor.

I am getting close to understanding how to get the images into the carousel. So how about the source where the pictures are stored in the folder for the ftp file. Is that where i change new array to my folder name of pictures??? Als on the "http://www.dynamicdrive.com", link after photo 1, can i just delete that and have no link???



02-22-2006, 07:00 AM
A good rule of thumb is, if you can type the address or path into the address bar of your browser and have the image you want appear in the browser, that is the address you should use in the script. Doing that will usually result in absolute paths to the images like:


Relative paths may also be used and are generally better if you understand their use. Relative basically means in relation to the page that is using the images. So if your page is in one folder and the images are in that same folder, all you need is the image name:


If the image is in a folder called images just off of the folder that the page is in like from the first example, if your page is:


and the image is in:


you can use this relative path:


OK, about the links. If you do not want a link, you still need to have the empty quotes in the array, or else the script will lose count of the order of things, as it has in the demo (empty link field red, comment green):

"photo3.jpg","", //this slide isn't linked

Note: The comment isn't required.