EGAL
Version 0.2 (2006-08-26)
Copyright (C) 2006 Santtu Pajukanta
Released under the GNU General Public License, version 2 or later
Purpose
EGAL is a simple photo gallery script that creates a static XHTML gallery of all the images in a directory.
Note: As of September 16th 2007, the development of EGAL has been discontinued. Tero "SpComb" Marttila has written a similar but more full-featured script called DeGAL that reuses much of the layout and CSS code of EGAL and I recommend all potential users of EGAL to use DeGAL instead. You should only use EGAL if you can't live with the dependencies (Python 2.5, PIL, Mako) of DeGAL.
Requirements
- Python (tested with 2.4.4)
- ImageMagick (tested with 6.3.0)
Download
Installation and usage
Extract the archive somewhere. Put the following files in same directory:
- galleryTemplate.html - the gallery template (edit this to your liking)
- imageTemplate.html - the per-image slide template (edit this too)
- egal.css - the style sheet
- your image files
Then simply execute egal.py in that directory. EGAL will then create one HTML file for each image, plus an index document, plus preview images under the "previews" folder, plus thumbnails under the "thumbnails" folder.
You can further customize the gallery in following ways:
- title.txt - Put the title for your image gallery here.
- image file name plus .txt - Per-image captions
Example galleries
As of December 2008, example galleries are no longer available.
Bugs and missing features
These are implemented in Tero's DeGAL which I use myself nowadays. EGAL will not receive further updates.
- Don't re-create previews and thumbnails on subsequent invocations unless the images have changed
- Show EXIF metadata