blob: da33a2b0ded2336f5cb91f4f14308bdb0faf8c04 (
plain)
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
55
56
57
58
59
60
61
62
63
64
65
|
Original
========
This package includes two separate applications. In the www dir, there is the
PHP frontend app, the convert dir includes a simple (too simple i guess) script
that converts your wildcard of images into three subdirs in the current
directory. You can easily create and upload all images using:
mkdir temp
cd $_
/path/to/imgconv *.png *.gif *.{jpeg,jpg}
scp -rp ./web-gallery me@my_server:public_html/galleries/gallery_name
and that's it.
Tuomas Kuosmannen (tigert@tigert.com) has created a Nautilus script to create
"original" galleries (check the REQUIREMENTS file). Just copy the
convert/contrib/webgallery.pl file to ~/.gnome2/nautilus-scripts and make sure it's got
the execute bit set.
# UPDATE
Apart from using netpbm package (http://sourceforge.net/projects/netpbm/) for
scaling images, the new webgallery-zenity.pl script uses Larry Ewing's
gdk-pixbuf-based scaler. See REQUIREMENTS for details.
Latest versions of the tools can be found at
http://jimmac.musichall.cz/original.php3
Installation
============
Although Original will probably run fine out of the box, you DO want to copy
inc/config.dist.inc.php to inc/config.dist.php and customize it according to
your needs.
Various Notes
=============
Gallery Dates
-------------
By default, original uses the directory timestamp to figure out the date of the
gallery. If I need to tweak it, i use `touch -d`. However some folks requested
a more convenient (is it?) way, using a "$gallery/date.txt" file. This
functionality has been replaced by the mew meta info file - info.txt:
Info.txt format
---------------
The file is a simple text of "key|value" pairs on separate lines. The '|'
separator is used, since you may want to use '=' and ':' as you're free to
use html markup in the file. Make sure you use a utf8 capable editor.
Some useful keys:
-----------------
date - can be used to override the timestamp of the directory
name - you can override the dir name if you prefer not using utf8 filenames
description - _short_ dexcription. Will be show in the index page.
author - Useful if the photographer isn't you.
--
Jakub 'Jimmac' Steiner <jimmac AT gmail.com>
|