|
D:\cpanrun\depot\main\contrib-patched\perl\CPAN\src\Apache-ImgIndex\blib/lib/Apache/ImgIndex.pm |
Apache::ImgIndex
Add the following to your httpd.conf and restart. Then point your browser to http://yoursite/photos
<Location /photos>
AllowOverride None
#Options -Indexes -Includes -FollowSymLinks
Order allow,deny
Allow from all
SetHandler perl-script
PerlHandler Apache::ImgIndex
PerlSetVar Rows 10
PerlSetVar Cols 5
PerlSetVar Thumb-size 50x20
PerlSetVar Show-names 1
PerlSetVar Hide-dirs 1
</Location>
Make sure /photos contains the full size images that you want to display.
Apache::ImgIndex is a simple mod_perl application for displaying photos. Apache::ImgIndex will automatically build thumbnails of the images. You can also rotate and scale the images from the web interface.
|
D:\cpanrun\depot\main\contrib-patched\perl\CPAN\src\Apache-ImgIndex\blib/lib/Apache/ImgIndex.pm |