The getpics.php file should be in the folder with the images in it.
Once you have that, modify this line:
PHP Code:
echo 'ShowPics[' . $curimage .']=["' . $file . '", ""];' . "\n";
to:
PHP Code:
echo 'ShowPics[' . $curimage .']=["Graphics/ShowPics/' . $file . '", "Graphics/ShowPics/' . $file . '", "_new"];' . "\n";
The paths (one path used twice) should be relative to the page that is using the images.
However, just as an observation on something you say you are doing - Loading up the full sized images in the slide show, unless they are fairly small in byte size will take quite a bit of time. Swiss Army slide show at least would do this incrementally:
http://www.dynamicdrive.com/dynamici...army/index.htm
But regardless of which you use, your slide shows will benefit from having optimized images in them that are no larger in either their dimensions or byte size than they need to be for display purposes.
You could put these 'thumbnails' in a separate directory and name each one the same as its larger counterpart. Then simply put the path to this thumbnail directory in getpics so it will be used for the first entry in the array generation line, ex:
PHP Code:
echo 'ShowPics[' . $curimage .']=["Graphics/ShowPicsTbn/' . $file . '", "Graphics/ShowPics/' . $file . '", "_new"];' . "\n";
Bookmarks