Formatting code for HomePage


show source only

====Welcome to the phpImageProcessor Project!====

>>===Download===

Latest stable release:
- [[https://sourceforge.net/project/showfiles.php?group_id=217232 version 0.1 on sourceforge]]

===Example Usage===

**Problem:**
You have your images in some folder, e.g. /home/youraccount/images
You want resized thumbnails of all images on your homepage with a max width/height of 100 pixel

**Solution:**
Install the phpImageProcessor
Create a profile file profile100.php with the following lines:
%%(php)
$profile["basePath"] = "/home/youraccount/images";
$profile["maxWidth"] = 100;
$profile["maxHeight"] = 100;
%%

Now you can just use the image src urls in this form (resize to 100pixel and caching is done automatically):
http://www.yourdomain.com/pip.php?img=yourimage.jpg&profile=profile100

>>

==What is phpImageProcessor?==

phpImageProcessor is an independent and flexible image processor and caching solution and provides the following features:

- resizing of images
- easy to configure
- dynamically or static defined processing values (e.g. resize size)
- support of jpg, gif and png files (depends on the gd lib version)
- support of multiple profiles
- flexible and simple integration to other applications
- integrated caching solution (expensive processing of the image is done only once)
- open source ([[http://www.gnu.org/licenses/lgpl.html LGPL]] license)

==Feedback or Problems!?==

- Did you encounter some problems? Use our [[http://sourceforge.net/tracker/?group_id=217232&atid=1039040 bug tracker]] or [[http://sourceforge.net/tracker/?group_id=217232&atid=1039041 support tracker]]!
- Do you need more features? Tell us and use the [[http://sourceforge.net/tracker/?group_id=217232&atid=1039043 feature request tracker]]

==Requirements==

- PHP 4.3
- installed gd-library (included in default php installations)

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki