album.cgi

See the other CGIs Japanese Page


Functions
    Photo Album
  • Photo display with comments.
  • Display title list by SSI mode
  • Display a photo in each page
  • Link to the next photo and Previous photo
  • Easy update by modifying a listfile
  • Also refer to the upgreade version, Album 2 and Album 3.

Installation

  1. Put album.cgi into a CGI executable directory.
  2. Create a HTML file and put it in the same directory as the one album.cgi is placed. This HTML file needs to be .shtml extention so that SSI is executable. Refer to the sample below for detail.
  3. Modify the Perl path of the line #1 in the album.cgi to match your server environment.
  4. Modify permission of the album.cgi properly.
  5. If necessary, modify $subdir, $imagedir, $script, $file, $back in the album.cgi properly.
  6. Put image files into the directory you specified as $imagedir in the album.cgi.
  7. Create a file album.lst and put it in the same directory as the one album.cgi is placed.
  8. Open the HTML file(.shtml file) you created on your browser.
  9. A list of the photo titles are displayed on the browser page. Photos will be displayed if you click the titles.
Sample and Source
    Sample
    album.cgi Sample of album.lst


XV
  • 1.02 : 8/3/03 : Fixed back link
  • 1.01 : 8/2/03 : Added $imagedir
  • 1.0 : 7/26/03 : Initial revision