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 0ae1a23773 rename project to sigal 15 years ago
sigal rename project to sigal 15 years ago
test add runtests.py script & 2 images to make quick tests 16 years ago
.gitignore - bugfix in process_exif 16 years ago
README rename project to sigal 15 years ago
__init__.py move ftp.py in lib/ subdir 16 years ago
runtests.py rename project to sigal 15 years ago
sigal.conf rename project to sigal 15 years ago
sigal.py rename project to sigal 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 (rename images,
squared thumbs, ...), and upload images to a FTP server.

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

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

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

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

on Fedora :
> yum install python-imaging pyexiv2 python-configobj

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
- FTP parameters

Options
-------

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