View Full Version : Ultimate Fade-in slideshow (v1.51)

11-23-2008, 06:11 AM
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 pictures are in a diffrent file from the web page how do i get it to change the directory to get the images thanks

11-23-2008, 10:49 PM
Your post is confusing. Technically speaking, images may not be in a different "file", I think you mean in a different folder (directory).

If that's the case, you may use the absolute or relative path to the images in the array. Say your page is in the root of your domain, and that the images are in a folder off of that called images. Then you could do (for example):

fadeimages[0]=["images/photo1.jpg", "", ""] //plain image syntax

A good rule of thumb is, if you were to use an image tag on your page to show that image, it would look like:

<img src="images/photo1.jpg" alt="">

So whatever you would need to use as the src attribute in an image tag is what you should put in your array.

11-24-2008, 02:11 AM
hi thanks for the correction on the file folder thing i was up late when i typed that also i tried what you said and it didnt work heres what i put

fadeimages[0]=["Banners and backgrounds/ad1 copy.jpg", "", ""] //plain image syntax

11-24-2008, 05:34 AM
It is often problematical to use spaces in paths and/or filenames. However, it also often works fine, so that might not be an issue here. One tricky part about both paths and filenames on the web is that upper and lower case matter. In most local testing though, they do not.

This script really isn't all that complicated to use, though (as with any script), there are quite a number of things that can mess it up. If you want more help:

Please post a link to the page on your site that contains the problematic code so we can check it out.