| 1d16de4 by Aurélien Bompard at 2009-08-01 |
1 |
Photo Imp |
|
2 |
========= |
| 5f74480 by Aurélien Bompard at 2008-06-16 |
3 |
|
| 1d16de4 by Aurélien Bompard at 2009-08-01 |
4 |
Photo Imp displays the photos in a directory using the PrettyPhoto javascript |
|
5 |
library. |
|
6 |
Main page: http://aurelien.bompard.org/projects/photo-imp |
|
7 |
Development page: http://gitorious.org/photo-imp |
|
8 |
Demo: http://aurelien.bompard.org/photos/ |
| 5f74480 by Aurélien Bompard at 2008-06-16 |
9 |
|
|
10 |
Usage: |
| 7bd2dc1 by Aurélien Bompard at 2009-08-02 |
11 |
- copy the "config.default.ini" file to "config.ini" and edit it if necessary. |
| 5f74480 by Aurélien Bompard at 2008-06-16 |
12 |
- upload this directory to your web server, for example in the |
| eec453b by Aurélien Bompard at 2009-08-02 |
13 |
"/photo-imp" path. This path will be called "indexer directory". |
|
14 |
- create another directory on your web server for your galleries. It will be |
|
15 |
called "gallery directory". |
|
16 |
- create a .htaccess file in your gallery directory with the following |
| 5f74480 by Aurélien Bompard at 2008-06-16 |
17 |
content : |
|
18 |
Options +Indexes |
| 1d16de4 by Aurélien Bompard at 2009-08-01 |
19 |
DirectoryIndex /photo-imp/index.php |
| eec453b by Aurélien Bompard at 2009-08-02 |
20 |
where "/photo-imp" is the URL of your indexer directory. |
| 5f74480 by Aurélien Bompard at 2008-06-16 |
21 |
|
|
22 |
You're done setting up the indexer. Now, fill the contents of your |
|
23 |
top gallery directory : |
|
24 |
- use the provided python script to generate a gallery folder |
| 3f7640f by Aurélien Bompard at 2009-08-02 |
25 |
from one of your picture directories. This script requires ImageMagick and |
|
26 |
ffmpeg if you have videos, and can be run on your desktop computer (not the |
|
27 |
server). Use the "--help" option for usage information. |
| 5f74480 by Aurélien Bompard at 2008-06-16 |
28 |
- upload this folder to your web server, in your top gallery |
|
29 |
directory |
|
30 |
|
|
31 |
That's all you have to do. You can customise the album title, the |
|
32 |
album date and the pictures title in the generated _infos.ini file, |
|
33 |
for example : |
|
34 |
[general] |
|
35 |
title = Joe's birthday |
|
36 |
date = Wednesday, October 31 2007 |
|
37 |
[joe-bday-2007_01.jpg] |
|
38 |
title = Birthday cake |
|
39 |
[joe-bday-2007_02.jpg] |
|
40 |
title = Presents |
| eec453b by Aurélien Bompard at 2009-08-02 |
41 |
[joe-bday-2007_03.jpg] |
|
42 |
title = "Escape with quotes when you have special chars !" |
| 5f74480 by Aurélien Bompard at 2008-06-16 |
43 |
|
|
44 |
Supported formats are JPEG, GIF, PNG, and AVI for movies. The videos |
|
45 |
will be converted to FLV (open format, readable with Gnash). |
|
46 |
|
| c872f15 by Aurélien Bompard at 2009-08-01 |
47 |
Credits: |
|
48 |
- PrettyPhoto is licensed under CC-BY 2.5 and available from: |
|
49 |
http://www.no-margin-for-errors.com/projects/prettyPhoto-jquery-lightbox-clone |
|
50 |
- The FLV player is licenced under CC-BY-SA and MPL 1.1 and available from: |
|
51 |
http://flv-player.net |
|
52 |
|
| 5f74480 by Aurélien Bompard at 2008-06-16 |
53 |
|
|
54 |
Copyright (C) 2008 Aurelien Bompard <aurelien@bompard.org> |
|
55 |
|
|
56 |
This program is free software: you can redistribute it and/or modify |
|
57 |
it under the terms of the GNU Affero General Public License as |
|
58 |
published by the Free Software Foundation, either version 3 of the |
|
59 |
License, or (at your option) any later version. |
|
60 |
|
|
61 |
This program is distributed in the hope that it will be useful, |
|
62 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
63 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
64 |
GNU Affero General Public License for more details. |
|
65 |
|
|
66 |
You should have received a copy of the GNU Affero General Public License |
|
67 |
along with this program. If not, see <http://www.gnu.org/licenses/>. |