PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
The code basically display thumbnails and images - the image are stored in a directory called images.
According to the writer, you can modify the script so that the images can be stored in another directory - I've tried changing the script but it doesn't seem to work.
tags when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
The code is below.
The instructions on the web site say:
To load images or thumbs from different folders than the default, use the imagePath and thumbPath attributes in the XML document.
imagePath is an absolute or relative path to the folder containing the fullsize images.
thumbPath is an absolute or relative path to the folder containing the thumbnail images.
Note: Relative paths are relative to the HTML document that contains SimpleViewer.
____________________________________________________________
I have therefore tried changing the name of the directory (from images to test) and then changed part of the code below to say: imagePath="test"