Lazygal 0.7.2

Yet another static web gallery generator written in Python
Lazygal is yet another static web gallery generator written in Python.


- Python >= 2.4.
- Python imaging library (PIL) >= 1.1.6.
- pyexiv2, a Python binding to exiv2, a library to access image metadata.
- Genshi, a Python toolkit for generation of output for the web.
- ElementTree or Python >= 2.5 for RSS feed generation.


Usage is straightforward :

usage: lazygal [options] albumdir


-h, --help show this help message and exit
--quiet Don't output anything except for errors.
--debug Output everything that lazygal is doing.
-o DEST_DIR, --output-directory=DEST_DIR
Directory where web pages, slides and thumbs will be
written (default is current directory).
-t THEME, --theme=THEME
Theme name (looked up in theme directory) or theme
full path.
Common variables to load all templates with.
--clean-destination Clean destination directory of files that should not
be there.
-v, --version Display program version.
--check-all-dirs Exhaustively go through all directories regardless of
source modification time.
-s IMAGE_SIZE, --image-size=IMAGE_SIZE
Size of images, define as =< x >x< y >,..., eg.
Size of thumbnails, define as < x >x< y >, eg. 150x113.
-q QUALITY, --quality=QUALITY
Quality of generated JPEG images (default is 85).
-O, --original Include original photos in output.
--puburl=PUB_URL Publication URL (only usefull for feed generation).

If you want to force lazygal into checking a directory's contents, simply touch the source directory to modify its modification time :

touch album_source/gallery_to_check

Main features:

  • Commande line based (thus scriptable).
  • Reusable engine (to make a GUI for instance).
  • Lazy : do not build what's already there.
  • Recursive : generates subgalleries.
  • Does not change your original pictures directories (the source argument).
  • Tells you what should not be in your generated directories (and delete it if you want to).
  • Can generate multiple sizes to browse pictures according to your screen.
  • Sort pictures in the same directory by EXIF date if available, else file modification time.
  • Theming.
  • XHTML and CSS compliance for provided themes.
  • Support for per folder meta data.
  • RSS feed generation for your album updates.

last updated on:
May 16th, 2012, 7:06 GMT
developed by:
Alexandre Rossi
license type:
GPL (GNU General Public License) 
ROOT \ Internet \ HTTP (WWW)
Download Button

In a hurry? Add it to your Download Basket!

user rating 14



Rate it!
What's New in version 0.7
  • This version adds a config option for webalbumpic size.
  • It has per-directory config files support.
  • It improves image rotation quality by using lossless rotation and by resizing after rotation.
  • It can generate WebM VP8 Vorbis for Web videos and video thumbs.
read full changelog

Add your review!