Apache-Gallery
view release on metacpan or search on metacpan
Cache EXIF data using Memoize - this will make Apache::Gallery
faster when many people access the same images, but it will also
cache EXIF data until the current Apache child dies.
GalleryUseFileDate
Set this option to 1 to make A::G show the files timestamp instead
of the EXIF value for "Picture taken".
GallerySelectionMode
Enable the selection mode. Select images with checkboxes and get a
list of filenames.
GalleryEXIFMode
You can choose how Apache::Gallery should display EXIF info from
your images.
The default setting is 'namevalue'. This setting will make
Apache::Gallery print out the names and values of the EXIF values
you configure with GalleryInfo. The information will be parsed into
$INFO in pictureinfo.tpl.
You can also set it to 'values' which will make A::G parse the
configured values into the var $EXIFVALUES as 'value | value |
value'
If you set this option to 'variables' the items you configure in
GalleryInfo will be available to your templates as $EXIF_<KEYNAME>
(in all uppercase). That means that with the default setting
"Picture Taken => DateTimeOriginal, Flash => Flash" you will have
the variables $EXIF_DATETIMEORIGINAL and $EXIF_FLASH available to
your templates. You can place them anywhere you want.
GalleryRootPath
Change the location of gallery root. The default is ""
GalleryRootText
Change the name that appears as the root element in the menu. The
default is "root:"
GalleryMaxThumbnailsPerPage
This options controls how many thumbnails should be displayed in a
page. It requires $BROWSELINKS to be in the index.tpl template file.
GalleryImgFile
Pattern matching the files you want Apache::Gallery to view in the
index as thumbnails.
The default is '\.(jpe?g|png|tiff?|ppm)$'
GalleryDocFile
Pattern matching the files you want Apache::Gallery to view in the
index as normal files. All other filetypes will still be served by
Apache::Gallery but are not visible in the index.
The default is
'\.(mpe?g|avi|mov|asf|wmv|doc|mp3|ogg|pdf|rtf|wav|dlt|txt|html?|csv|
eps)$'
GalleryTTFDir
To use the GalleryCopyrightText feature you must set this option to
the directory where your True Type fonts are stored. No default is
set.
Example:
PerlSetVar GalleryTTFDir '/usr/share/fonts/'
GalleryTTFFile
To use the GalleryCopyrightText feature this option must be set to
the name of the True Type font you wish to use. Example:
PerlSetVar GalleryTTFFile 'verdanab.ttf'
GalleryTTFSize
Configure the size of the CopyrightText that will be inserted as
copyright notice in the corner of your pictures.
Example:
PerlSetVar GalleryTTFSize '10'
GalleryCopyrightText
The text that will be inserted as copyright notice.
Example:
PerlSetVar GalleryCopyrightText '(c) Michael Legart'
GalleryCopyrightColor
The text color of your copyright notice.
Examples:
White: PerlSetVar GalleryCopyrightColor '255,255,255,255'
Black: PerlSetVar GalleryCopyrightColor '0,0,0,255'
Red: PerlSetVar GalleryCopyrightColor '255,0,0,255'
Green: PerlSetVar GalleryCopyrightColor '0,255,0,255'
Blue: PerlSetVar GalleryCopyrightColor '0,0,255,255'
Transparent orange: PerlSetVar GalleryCopyrightColor '255,127,0,127'
GalleryCopyrightBackgroundColor
The background-color of a GalleryCopyrightText
r,g,b,a - for examples, see GalleryCopyrightColor
GalleryQuality
The quality (1-100) of scaled images
This setting affects the quality of the scaled images. Set this to a
low number to reduce the size of the scaled images. Remember to
clear out your cache if you change this setting. Quality seems to
default to 75, at least in the jpeg and png loader code in Imlib2
1.1.0.
Examples:
Quality at 50: PerlSetVar GalleryQuality '50'
GalleryUnderscoresToSpaces
Set this option to 1 to convert underscores to spaces in the listing
of directory and file names, as well as in the alt attribute for
HTML <img> tags.
GalleryCommentExifKey
Set this option to e.g. ImageDescription to use this field as
( run in 0.739 second using v1.01-cache-2.11-cpan-5735350b133 )