Translations:
- Français
- English
Photo Imp
Photo Imp displays the photos in a directory using the PrettyPhoto javascript library.
A demo is available using my own photos.
Download the latest release from the download page or checkout the development branch from Gitorious.
Installation
- copy the "config.default.ini" file to "config.ini" and edit it if necessary.
- upload this directory to your web server, for example in the "/photo-imp" path. This path will be called "indexer directory".
- create another directory on your web server for your galleries. It will be called "gallery directory".
- create a .htaccess file in your gallery directory with the following content :
Options +Indexes DirectoryIndex /photo-imp/index.php
where "/photo-imp" is the URL of your indexer directory.
You're done setting up the indexer.
Creating galleries
Now, fill the contents of your top gallery directory :
- use the provided python script to generate a gallery folder from one of your picture directories. This script requires ImageMagick and ffmpeg if you have videos, and can be run on your desktop computer (not the server). Use the "--help" option for usage information.
- upload this folder to your web server, in your top gallery directory
That's all you have to do. You can customize the album title, the album date and the pictures title in the generated _infos.ini file, for example :
[general] title = Joe's birthday date = Wednesday, October 31 2007 [joe-bday-2007_01.jpg] title = Birthday cake desc = looks yummy ! [joe-bday-2007_02.jpg] title = Presents [joe-bday-2007_03.jpg] title = "Escape with quotes when you have special chars !"
Supported formats are JPEG, GIF, PNG, and AVI for movies. The videos will be converted to FLV (open format, readable with Gnash).
Reporting bugs
To create a new ticket on this tracker, you'll need to have an OpenID account. If you already have one, you're good to go, just use the "OpenID Login" link at the top right of this page. If you don't, just go to this page to choose your provider and setup an account. You may already have an OpenID without knowing it.
Afterwards, you'll have a new button labeled "New Ticket" in the menu bar, use it to report bugs or to suggest enhancements.
Credits
- PrettyPhoto is licensed under CC-BY 2.5
- FLV player is licenced under CC-BY-SA and MPL 1.1
