blob: 119c57088560b44db0c699bf6fb2764a37c49a82 (
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
|
The web backend requires to have a PHP scripting engine running on
your web server.
There are two scripts doing the scaling work. convert/imgconv is a plain
bash script using Imagemagick to generate thumbnails and scaling images.
You can get Imagemagick at http://www.imagemagick.org/.
# UPDATES #
* netpbm
------
You can use netpbm tools instead of ImageMagick for better speed. You can
grab netpbm at http://sourceforge.net/projects/netpbm/ but ususally your
distro ships with it already. My YDL distro has all the toos in netpbm-progs
package.
* webgallery.pl
-------------
Tuomas Kuosmannen created a nautilus script that operates on selection
of images. It's way cooler than the bash script. Because the operation
can take a while, it has a nifty progressbar. The script itself is in
Perl, so you obviously need a functiuoning installation of Perl. For the
progressbar to work, you need gtk-perl bindings. You can get them at
ftp://ftp.gtk.org. Nautilus is a GUI file manager that rocks for photo
management. you can grab it at http://www.eazel.com.
* webgallery-zenity.pl
--------------------
I hacked up Tuomas' script to use only gnome's zenity for the progress bars,
so there's no more gtk-perl dependency. Also this script uses Larry Ewing's
cool gdk-pixbuf scaler. It is an alternative to ImageMagick's convert
(sharing the basic commandline parameters) that discards EXIF information
(yet), but is 5 to 8 times as fast. You can really tell on large galleries.
You can find both at the convert/ directory. Instructions how to compile
gdk-pixbuf-convert.c are included in the file header.
If you wan't to have advanced EXIF information for your photos, make sure you
use a recent ImageMagick so that convert doesn't throw away this info when
scaling down. Also grab Metacam
(http://www.cheeseplant.org/~daniel/pages/metacam.html) and configure the path
to it in inc/config.inc.php.
|