Photon Menu

Photon Documentation


Photon User's Guide

Download

The latest version of the product can be downloaded from the following Web site: http://photon.project.free.fr/download/

You can download source files or debian woody binary package.

If you choose to download source files, you will need a GCC compiler and python to install an run Photon.

Installation

When you have downloaded a source version of the product, it can be unpacked and built in the usual manner:

 $ tar xzvf photon-VERSION.tar.gz
 $ cd photon-VERSION
 $ ./configure
 $ make

If you have donwloaded the debian binary package, use the dpkg tools to install it or add the following line to your /etc/apt/sources.list :
deb http://dc.deb.free.fr/debian/woody/binary-i386 ./
and run apt-get update & apt-get install photon

Running

You can run Photon with the following command line: photon.py [options] directories

Where "options" are:

  • -c, --columns: number of columns by index
  • -r, --rows: number of rows by index
  • -s, --thumbnailsRatio: images reduction for the index
  • -t, --thumbnailsSize: size of the images in the index
  • -o, --comments: align comments: top, bottom, all, none
  • -w, --overwrite: overwrite html or thm (thumbnail)
  • -f, --force-thm-size: size of thumnail picture without open file
  • -i, --disable-imaging: disable image magik library (you cannot generate thumbnail picture)
  • -a, --album: the name of the album
  • --webImageSize: size of web image
  • --webImageRatio: image reduction of the web images
  • --webImageLink: the web image is linked to the original picture
  • --useWebImage: use already generated "web-image"
  • And where "directories" are the places of your images/pictures (JPEG format) to manage.

    Configuration

    Add comment for each images: "comment.txt" files