Why not use a bash CGI script for this? Use this as a starting point http://www.intuitive.com/wicked/showscript.cgi?073-photoalbum.cgi I recommend you check out that book too, it's a lot of fun. Excerpts from Technomage's message of Fri Jul 16 18:59:36 -0700 2010: > here's what I'd like to do: > 1. create individual html files for each picture (number not important) > 2. have each html file display the current image with an href to the > next in order image in the directory > 3. have the first html file linked from inside index.html (such that it > shows the first image) > 4. when the last image in the directory is reached, that html file has > an href that refers to that current image > > can I get a little help here? the bash scripting tutorials are lacking > on some points. > now, what I have is very incomplete and I am not sure how to proceed here: > > ****** bash script ******* > #!/bin/bash > #create the index.html file with the type, header and title > touch index.html > echo "Content-type: text/html" >> index.html > echo "" >> index.html > echo "