Tapir is a Python script that I wrote when I got sick of trying to get my PHP-based dynamic photo gallery working properly. I finally cracked and wrote a static HTML-outputting script and taught myself Python along the way.
Tapir's features:
- Static HTML output - no need to worry about security vulnerabilities that other galleries often have!
- A nice little text-based interface for naming albums, images, and choosing the feature image for the album.
- A lovely Qt GUI for those with PyQt.
- Automatic uploading through SCP (you need key-based authentication working for this, however.)
- Template and (partial) CSS-based layout.
- Doesn't require any sort of scripting language on the remote host, because it outputs static HTML.
- Automatically creates thumbnails.
- Support for ordering by an EXIF tag (such as "DateTaken" or similar).
Planned further features:
- Further EXIF support.
- Graphical administration tool (phase one, done! Mac OS X graphical admin tool is on its way).
Download
The latest version of Tapir is 0.5.
Requirements: Python 2.3, the Python Imaging Library, PyQt 3 for the Qt interface (optional).
Credits
- Nicholas FitzRoy-Dale for the Qt interface
- Charles Gray for the testing and patience
You can see the output of Tapir at my online gallery.
Changes
0.5: Thanks to Nicholas for a brand new Qt interface. This release also now has absolute directory support, and defaults to creating a new album in ~/tapir (you can change this in the 'creategal.py' script). A couple of other bugs were also fixed.
0.3.2: fixed ordering "bug" so that the latest album is now at the top of the page.
0.3.1: brown paper bag bug. You don't need to know.
0.3: Added a text-based UI.
0.2: First release.
Tapirs