Welcome to the phpImageProcessor Project!
Download
Latest stable release:
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:
$profile["basePath"] = "/home/youraccount/images";
$profile["maxWidth"] = 100;
$profile["maxHeight"] = 100;
$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 (LGPL license)
Feedback or Problems!?
- Did you encounter some problems? Use our bug tracker or support tracker!
- Do you need more features? Tell us and use the feature request tracker
Requirements
- PHP 4.3
- installed gd-library (included in default php installations)
There are no comments on this page. [Add comment]