/
README
54 lines (38 loc) · 1.56 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Album - a simple and sturdy HTML5/Js photo web album
This code is (C) 2010-2012 - Auke Kok <auke@foo-projects.org>
===
Why yet another web photo album?
There are many excellent photo albums on the web. Some are trivial,
some are complex. None of them worked for me. Complex is great, it
means many features, but also fragility and complexity in setting up,
including many obscure requirements.
After yet another gallery database crash wiping out my 10k large
private collection database, I realized that DB's are evil for
something that should be simple.
So, I set out to make a trivial, fast and simple photo album leveraging
the browser and a mostly vanilla apache+php setup, without database.
Design considerations:
- no DB
- on demand thumbnail generation
- server side caching of thumbnails
- no page reloading ever
- html5 video support
- image preloading to improve album browsing speed
- keyboard navigation enabled
- slideshow support
===
How to install?
Prerequisites:
- A httpd server. Any should do.
- PHP 5. Any PHP server version should do, but compat issues are not
looked at. The following features should be on in the PHP build:
- GD
- EXIF
- A webserver writable cache folder with plenty of space
- Inotify-tools (To detect video uploads and start recoding)
- ffmpeg (to recode to MP4)
- ffmpeg2theora (to recode to OGV)
- ImageMagick (To generate video thumbnails)
Git clone the project and point your browser to the project root folder. Edit
config.php and enter users. Make sure you change the cache folder location if
needed.