Apache::ImageShoehorn - mod_perl wrapper for Image::Shoehorn


Image-Shoehorn documentation  | view source Contained in the Image-Shoehorn distribution.

Index


NAME

Top

Apache::ImageShoehorn - mod_perl wrapper for Image::Shoehorn

SYNOPSIS

Top

  <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

DESCRIPTION

Top

Apache mod_perl wrapper for Image::Shoehorn.

CONFIG DIRECTIVES

Top

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 :

VERSION

Top

0.9.2

DATE

Top

July 07, 2002

AUTHOR

Top

Aaron Straup Cope

SEE ALSO

Top

Image::Shoehorn

LICENSE

Top

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.