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:
Code:
http://www.mydomain.com/images/photo1.jpg
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:
photo1.jpg
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:
Code:
http://www.mydomain.com/index.html
and the image is in:
Code:
http://www.mydomain.com/images/photo1.jpg
you can use this relative path:
images/photo1.jpg
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):
Code:
"photo3.jpg","", //this slide isn't linked
Note: The comment isn't required.
Bookmarks