Apache-Gallery
view release on metacpan or search on metacpan
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
comments for images.
GalleryEnableMediaRss
Set this option to 1 to enable generation of a media RSS feed. This
can be used e.g. together with the PicLens plugin from
http://piclens.com
FEATURES
Rotate images
Some cameras, like the Canon G3, detects the orientation of a
picture and adds this info to the EXIF header. Apache::Gallery
detects this and automatically rotates images with this info.
If your camera does not support this, you can rotate the images
manually, This can also be used to override the rotate information
from a camera that supports that. You can also disable this behavior
with the GalleryAutoRotate option.
To use this functionality you have to create file with the name of
the picture you want rotated appended with ".rotate". The file
should include a number where these numbers are supported:
"1", rotates clockwise by 90 degree
"2", rotates clockwise by 180 degrees
"3", rotates clockwise by 270 degrees
So if we want to rotate "Picture1234.jpg" 90 degrees clockwise we
would create a file in the same directory called
"Picture1234.jpg.rotate" with the number 1 inside of it.
Ignore directories/files
To ignore a directory or a file (of any kind, not only images) you
create a <directory|file>.ignore file.
Comments
To include comments for a directory you create a <directory>.comment
file where the first line can contain "TITLE: New title" which will
( run in 1.076 second using v1.01-cache-2.11-cpan-f56aa216473 )