table of contents
PHOTON(1) | PHOTON(1) |
NAME¶
photon - generates photo albums
SYNOPSIS¶
photon [OPTIONS] [PATH]
DESCRIPTION¶
Photon generates clean, yet configurable, static HTML photo galleries. All of the work is done from the command line, and the resulting output can easily be configured by changing the template files found in /usr/share/photon/templates.
To create a new template (skin), first create a new directory:
mkdir -p ${HOME}/.photon/templates/my_theme/
Then copy the contents of /usr/share/photon/templates/photonv1/ to this new directory. Photon only needs three files to build pages:
index.html
image.html
movie.html
If a file is missing, then photon will throw an error and will not run.
HOW TO BUILD A GALLERY¶
Quick start
Use the gimp plugin
Change the size for all images and the thumbnail and keep the original photo
Create a gallery from your custom template (skin)
See photon help
OPTIONS¶
-a | --awstats
--awstats-url=URL
-c NAME | --comment
-d NUM | --display-columns=NUM
-E | --no-exif
-f | --force
-ff | --force --force
-h | --help
-I | --no-index
-J | --no-javascript
-k | --skin=THEME
--print-skins
-l NUM | --display-lines=NUM
-m | --movie
-o NAME | --output-directory=NAME
-s LIST | --sizelist=LIST
-t SIZE | --thumbsize=SIZE
-v | --verbose
-V | --version
-z | --compress
--exif-bordercolor=COLOR
--exif-bgcolor=COLOR
--exif-fgcolor=COLOR
--body-bgcolor=COLOR
--img-bgcolor=COLOR
--exclude=PATTERN
--resize-plugin=PLUG
--resize-quality-low=NUM
--resize-quality-high=NUM
--gimp-program=PROG
SHORTCUTS WHILE VIEWING AN IMAGE¶
n/SPACE Go to the next image (with the same resolution) p/BACKSPACE Go to the previous image (with the same resolution) s Start/Stop the slideshow +/- Increase/Decrease by one second the slideshow's period h Show shortcut and help i Show Exif information z Change to the higher resolution [NOT YET IMPLEMENTED]
SEE ALSO¶
gimp(1)
AUTHOR¶
Written by Luc Saillard, <luc@saillard.org>
Main web site: http://www.saillard.org/programs_and_patches/photon/
This manual page was written by Kevin Coyner <kcoyner@debian.org> for the Debian project but may be used by others.
12/16/2006 |