View on
MetaCPAN
Aaron Straup Cope > Image-Shoehorn-1.42 > Apache::ImageShoehorn

Download:
Image-Shoehorn-1.42.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.9.2   Source  

NAME ^

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

SYNOPSIS ^

  <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 ^

Apache mod_perl wrapper for Image::Shoehorn.

CONFIG DIRECTIVES ^

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 ^

0.9.2

DATE ^

July 07, 2002

AUTHOR ^

Aaron Straup Cope

SEE ALSO ^

Image::Shoehorn

LICENSE ^

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.

syntax highlighting: