X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=README;h=64361e841a14b777a14403bdb05c4c48442a48d0;hb=cab0e9b3e5654a55a4fd8128ef6ce8f7e029f1de;hp=85690f5dd990af1139f2990d549295f575952993;hpb=8dbf791e19bfe71212548753c9f370ed7c8d4745;p=deb_pkgs%2Flibapache-gallery-perl.git diff --git a/README b/README index 85690f5..64361e8 100644 --- a/README +++ b/README @@ -19,7 +19,7 @@ CONFIGURATION The options are set in the httpd.conf/.htaccess file using the syntax: PerlSetVar OptionName 'value' - Example: PerlSetVar GalleryCacheDir '/var/tmp/Apache-Gallery/' + Example: PerlSetVar GalleryCacheDir '/var/cache/www/' GalleryAutoRotate Some cameras, like the Canon G3, can detect the orientation of a the @@ -32,10 +32,9 @@ CONFIGURATION GalleryCacheDir Directory where Apache::Gallery should create its cache with scaled - pictures. The default is /var/tmp/Apache-Gallery/ . Here, a - directory for each virtualhost or location will be created - automaticly. Make sure your webserver has write access to the - CacheDir. + pictures. The default is /var/cache/www/ . Here, a directory for + each virtualhost or location will be created automatically. Make + sure your webserver has write access to the CacheDir. GalleryTemplateDir Full path to the directory where you placed the templates. This @@ -139,7 +138,7 @@ CONFIGURATION GalleryInfo will be available to your templates as $EXIF_ (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 avilable to + the variables $EXIF_DATETIMEORIGINAL and $EXIF_FLASH available to your templates. You can place them anywhere you want. GalleryRootPath @@ -165,8 +164,8 @@ CONFIGURATION 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) - $' + '\.(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 @@ -235,22 +234,23 @@ CONFIGURATION 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 - tags. + of directory and file names, as well as in the alt attribute for + HTML tags. GalleryCommentExifKey - Set this option to e.g. ImageDescription to use this field as comments - for images. + 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 + 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 automaticly rotates images with this info. + 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 @@ -258,8 +258,8 @@ FEATURES with the GalleryAutoRotate option. To use this functionality you have to create file with the name of - the picture you want rotated appened with ".rotate". The file should - include a number where these numbers are supported: + 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 @@ -269,6 +269,10 @@ FEATURES 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 .ignore file. + Comments To include comments for a directory you create a .comment file where the first line can contain "TITLE: New title" which will @@ -308,7 +312,7 @@ AUTHOR Michael Legart COPYRIGHT AND LICENSE - Copyright (C) 2001-2005 Michael Legart + Copyright (C) 2001-2011 Michael Legart Templates designed by Thomas Kjaer