gallery.pl dest_dir
sgallery-examples
tarfile. In the source/
subdirectory
there are source images (cross-linked, to save space) and the three sample gallery hierarchies. In
the result/
subdirectory, you will find the outputs of the script.
example1
. This could be more or less what you could have
in your photo archive. Directories, possibly with some meaningful names (like 'Gallery #1'),
inside them some photos etc. That's just fine for SGallery - except that the result will be
a bit.. hmm, boring at least. Point your browser to the result/example1/index.html
to see what I mean.
example2
. Some improvements here:
album.dat
file in every directory: example2/
,
example2/album1/
and example2/album2/
:
CSS: style.css | "please use this file as a global style for the gallery" | |
TITLE: Example gallery #2 | The title | |
album1 album2 | Which directories are included | |
+*.jpg | '+' means "please include all the files that match the expression" (see the album1 and album2 directories) |
album.dat
file
album.dat
you can include a BREAK
tag with some text. This is to separate groups of images within the same page
LOCAL_COLUMNS
tag that specifies how many columns per page
you want. By default, some reasonable assumptions are done.
LOCAL_THUMB_SIZE
tag that lets you specify the requested
size of the thumbnails
;
sign after the file name, you can write an image title there. You can use
simple HTML here, just look at the remark about the TITLE
tag below.
LOCAL_THUMB_SIZE
and THUMB_SIZE
as an example. The rule are following:
LOCAL
overrides non-LOCAL
LOCAL
settings are copied from the parent ones. LOCAL
ones - aren't
LOCAL
options for the festival gallery index (bigger thumbnails, 2 columns)
LOCAL
options that will be applied to sub-galleries
sgallery
and sgallery-examples
packages
convert