Idel Fuschini > Apache2-WURFLFilter-2.21 > Apache2::ImageRenderFilter

Download:
Apache2-WURFLFilter-2.21.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 2.21   Source  

NAME ^

Apache2::ImageRenderFilter - Used to resize images on the fly to adapt to the screen size of the mobile device

COREQUISITES ^

Apache2::RequestRec

Apache2::RequestUtil

Apache2::SubRequest

Apache2::Log

Apache2::Filter

APR::Table

LWP::Simple

Image::Resize

Apache2::Const

File::Copy;

DESCRIPTION ^

This module have the scope to manage with WURFLFilter.pm module the images for mobile devices.

For more details: http://www.idelfuschini.it/apache-mobile-filter-v2x.html

An example of how to set the httpd.conf is below:

PerlSetEnv MOBILE_HOME server_root/MobileFilter

This indicate to the filter where put the transformated images (cache directory) this directory must be writeable

PerlSetEnv ResizeImageDirectory /transform
PerlModule Apache2::WURFLFilter =item PerlTransHandler +Apache2::WURFLFilter

This is indicate to the filter were are stored the high definition images

<Location /mobile/*>
SetHandler modperl
PerlInputFilterHandler Apache2::ImageRenderFilter
</Location>

NOTE: this software need wurfl.xml you can download it directly from this site: http://wurfl.sourceforge.net or you can set the filter to download it directly.

SEE ALSO ^

For more details: http://www.idelfuschini.it/apache-mobile-filter-v2x.html

Mobile Demo page of the filter: http://apachemobilefilter.nogoogle.it (thanks Ivan alias sigmund)

Demo page of the filter: http://apachemobilefilter.nogoogle.it/php_test.php (thanks Ivan alias sigmund)

AUTHOR ^

Idel Fuschini (idel.fuschini [at] gmail [dot] com)

syntax highlighting: