yet another simple static gallery generator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Simon 42d3602e1e try to find a landscape image for the representative 15 years ago
sigal try to find a landscape image for the representative 15 years ago
test allow to specify theme in config file + minor fixes 15 years ago
themes/default theme - add basic css + use metadata in html 15 years ago
.gitignore - bugfix in process_exif 16 years ago
README cleanup 15 years ago
__init__.py move ftp.py in lib/ subdir 16 years ago
runtests.py add basic theme support 15 years ago
sigal.py add basic theme support 15 years ago

README

sigal - simple gallery generator
================================

This python script prepares a gallery of images for [Piwigo]() gallery script.
It resizes images, creates thumbnails with some options (squared thumbs, ...).

[Piwigo]: http://www.piwigo.org/

Dependencies
------------

- Python Imaging Library (PIL)
- exiv2 (for exif datas)

on Ubuntu :
> sudo apt-get install python-imaging python-pyexiv2

on Fedora :
> yum install python-imaging pyexiv2

The script should also work on other system (Windows, Mac) but this has not be
tested yet.

Usage
-----

go in the directory of images to process and launch the script:
> /path/to/sigal/sigal.py input_dir output_dir

Settings
--------

Adapt setting to your needs in the configuration file (`sigal.conf`):
- Size of images and thumbnails
- JPG quality
- Thumbnails prefix

Options
-------

Some features are optionnal (1=enable / 0=disable):
- Add a copyright on the images
- Keep big images
- Keep exif datas
- Make squared thumbnails