| Image-Shoehorn documentation | view source | Contained in the Image-Shoehorn distribution. |
Apache::ImageShoehorn - mod_perl wrapper for Image::Shoehorn
<Directory /path/to/some/directory/with/images>
SetHandler perl-script
PerlHandler Apache::ImageShoehorn
PerlSetVar ScaledDir /path/to/some/dir
PerlSetVar SetScaleSmall 25%
PerlSetVar SetScaleMedium 50%
PerlSetVar SetScaleLarge 75%
PerlSetVar SetScaleThumb x50
PerlSetVar SetValid png
PerlSetVar Convert On
PerlSetVar ScaleAllOnCleanup Off
<FilesMatch "\.html$">
# Do something with HTML files here
</FilesMatch>
</Directory>
# This image would actually be converted and
# sent to the browser as a PNG file. Woot!
http://www.foo.com/images/bar.jpg?scale=medium
Apache mod_perl wrapper for Image::Shoehorn.
This package does not support all of the options available to the Image::Shoehorn constructor. They will likely be added in later releases. The current list of unsupported configuration options is :
0.9.2
July 07, 2002
Aaron Straup Cope
Copyright (c) 2002 Aaron Straup Cope. All Rights Reserved.
This is free software, you may use it and distribute it under the same terms as Perl itself.
| Image-Shoehorn documentation | view source | Contained in the Image-Shoehorn distribution. |