Welcome!
This is the home of CGG, Cataract Gallery Generator - a simple static web photo gallery, designed to be clean and easily usable. Due to the static design, there's no way to comment pictures on the web.
Feature highlights:
- static HTML gallery, no extra requirements on server
- fast, easy to cache/mirror
- XML-based description files
- modern design, valid XHTML 1.0 and CSS 2
- EXIF support
- console application, allowing easy scripting (e.g. auto-refresh after new images are uploaded via FTP)
Planned features:
- prefetch of next image (JavaScript)
- strip unnecessary blocks from images - EXIF, thumbnails
- port to exiv2 library to get rid of that weird shutter times, IPTC support
- support adding comments and copyright notes to images
- switchable flat album view
- groups in the album - e.g. separate years, decades...
- jBrout db support?
Documentation
CGG creates a set of HTML files and images from the source structure. Input files are structured in subdirectories, each directory may contain one index XML file and the generated directory tree copies the source structure. All links to sub-galleries, items, descriptions and individual settings are specified in XML files. No more files other than global setup XML file are needed.
For convenience, sources contain the cgg-dirgen.sh script, which creates index XML template from images in current directory. That can be used as a skeleton of new album, writing down title, description and comments.
For detailed syntax of input XML files please check the sample gallery included in the source tree. It demonstrates basic features and contains detailed tag description inside the XML files.
Download
Source code: cataract-0.99.0.tar.bz2 (4,179 kB)
For older releases see http://cgg.bzatek.net/files/
GIT
gitweb: http://git.bzatek.net/?p=cataract/.git;a=summary
repository snapshot command:
git clone git://git.bzatek.net/cataract
For write access to repository please contact developers.
License
Cataract - Static web photo gallery generator
Copyright (C) 2008 Tomas Bzatek <tbzatek@users.sourceforge.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Latest News
27 July 2008
First public release (v0.99.0). Small syntax changes to input XML files planned soon.
Demo
My personal photo gallery was generated with CGG, check it here: http://foto.bzatek.net/akce
Cataract Gallery Generator