cleanup and new features
[photo-tags.git] / README
1 This are some simple php files and bash scripts to display your F-spot
2 photos including information from the data-base on a webpage. To get
3 up and running follow these steps:
4
5 1) You can exclude/include certain tags incase you want for example on
6 show pictures on the web that were tagged "Public".
7
8 To use the scripts copy config.ini_template to config.ini, edit it and
9 then run for example
10
11 f-spot-db-reduce.sh --include='Public'
12
13 This will create a new smaller database that only contains information
14 about pictures with the Public tag. 
15
16 2)  Next run
17
18 ./create_thumbnails.sh
19
20 This script creates thumbnails of all pictures and save them in local
21 directories. I will only create 50 pictures at a time though, so you
22 will need to run it several times. This is done, so that you limit the
23 time this tasks run, so that it doesn't get shut down on for example
24 rented web-space where execcive CPU uses is an issue.
25
26 3) install .htaccess
27
28 edit the "RewriteBase" in the .htaccess_template file and rename it to .htaccess.
29 Onces this is done you can visit index.php and everything should be working.
30
31 Feel free to fork, send in patches, make suggestions.
32
33 Arun Persaud