Pixlr's Template Engine

Pixlr allows you to fully customize your photoblog theme by supporting Perl's Template Toolkit.

Availiable variables

Image title, description and date

  • [% IMAGE_TITLE %] - The title of your photo
  • [% DESCRIPTION %] - The photo description
    • since 0.1.6-dev this variable has been changed to shows escaped HTML
  • [% DESC_NONESC %] - The photo description
    • avail. since 0.1.6-dev - shows non-escaped HTML
  • [% TAKEN %] - The date when the photo was taken
  • [% WIDTH %] - Original image width
  • [% HEIGHT %] - Original image height
  • [% IMAGE_ID %] - Pixlr's (internal) image ID
  • [% FLICKR_ID %] - Flickr's image ID

EXIF information

  • [% EXIF_APERTURE %] - Aperature value
  • [% EXIF_FOCAL %] - Focal length
  • [% EXIF_EXPOSURE %] - Exposure value
  • [% EXIF_ISO %] - ISO speed
  • [% EXIF_FLASH %] - Flash did fire/Flash didn't fire

Geolocation information

  • [% GEO_TOWN %] - Town where the photo has been taken
  • [% GEO_COUNTY %] - County where the photo has been taken
  • [% GEO_STATE %] - State/Province where the photo has been taken
  • [% GEO_COUNTRY %] - Country where the photo has been taken
  • [% GEO_LAT %] - Latitude coordinates of geolocation
  • [% GEO_LONG %] - Longitude coordinates of geolocation

Other layout variables

  • [% SELF %] - Absolute URL of the site Pixlr is running on
 
doc/template_engie.txt · Last modified: 2007/06/20 20:57 by doomshammer
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki