album3.cgi

Top Japanese Page


Functionalities
    Photo album
  • Display photo with comments in each page
  • Select photo from option menu
  • Next photo, previous photo link
  • Slide show mode
  • Random display mode
  • Menu off mode
  • Photo size fix mode
  • Easy update by editting a list file
  • List file edit page
  • Can be browse without list file
  • List file disable mode
  • Easy set up by a setup page
  • Image files upload page
  • Fast image display by photo preload function
  • Can use without any setting
Additional functions from album2.cgi
  • Slide show mode
  • Random display mode
  • Menu off mode
  • Photo size fix mode
  • List file generation page
  • Image files upload page
  • List file disable mode
Installation
  1. Put album3.cgi and cgi-lib.pl into a CGI executable and writable directory.
  2. Modify the Perl path of the first line in the album3.cgi to match your server environment.
  3. Modify permission of the album3.cgi properly.
  4. Open album3.cgi on your browser.
  5. Set admin password when the CGI asks it.
  6. Click the setup link and set each items properly and click setup. This contents will be saved into album_set.pl. This page can be open by album3.cgi?mode=setup.
  7. Put image files into the directory you set in the setup page. You can also upload image files from "image upload" page.
  8. If necessary, create a file album.lst and put it in the directory you set in the setup page. You can also edit the list from "list file edit" page.
  9. Now you can use it as album3.cgi.
CGI and Source
    Sample(ja) Sample of setup page Sample of list file edit page
    album3.cgi Sample of album.lst

Sample of various modes About the list file
    The list file(default is album.lst) is a normal text file and file name, title and comment are separated by a comma and put them each line
    There is no limitation of photo image number. You can put as you like.
    There is no limitation of title or comment length.
    In default, you can use the CGI without a list file. In this case, the images in the image direcotry(the same directory as there CGI located in the easy mode) will be displayed alphabetical order and title will be the file name of the image file.
    If you specify file names only in the list file and you do not specify title nor comments, the CGI works and the file name of the photo will be shown as the title of the photo image.B
    '#' in the head of a line will be a comment.

    If you disable the list file, it works as if there is no list file even though you have a list file in a valid directory.

    Environment setup and Operatoin
    Environment album3.cgi Yes Yes Yes Yes
    album.lst No/disable Yes/enable Yes/enable Yes/enable
    album.lst file name - Yes Yes Yes
    album.lst Title - No Yes Yes
    album.lst Comments - No No Yes
    Operatoin Title is file name Yes Yes No No
    Specified title No No Yes Yes

Revision history
  • 3.001 : 9/10/05 : Added title display and back link option
  • 3.0 : 9/6/05 : Created