PHP Image Resizer: Instant Picture Creator produces images on demand for websites.
PHP
Switch branches/tags
Nothing to show
Latest commit 407871d Sep 9, 2011 @haschek Merge pull request #2 from seebi/master
only some niceups + a preset to apply no filters via an empty filter stack

README.md

Instant Picture Creator

Instant Picture Creator is a wrapper to produce images on demand for Web sites. It has filter management, and it's possible to add new filters. It can cache filtered images, works independently (no backend is needed), and is easy to integrate with existing Web sites.

It includes two basic filters for resizing images and manipulating color palettes.

Currently it supports PNG, GIF, and JPEG.

Easy to use

Copy Instant Picture Creator on your server, configure your .htaccess (example is included in archive file) and start to us it:

http://your.server.com/path/to/picture.png?filter=Resize-width-150

You can use shortcuts:

http://your.server.com/path/to/picture.png?filter=thumbnail

Instant Picture Creator comes with cache handling and security helpers.

Get help

Dependencies

Instant Picture Creator needs minimally PHP 4.0.6 with gd and hash extension. CompatInfo output is:

+----------------------------------+---------+------------+------------------+
| Path                             | Version | Extensions | Constants/Tokens |
+----------------------------------+---------+------------+------------------+
| [...]/*                          | 4.0.6   | hash       |                  |
|                                  |         | gd         |                  |
+----------------------------------+---------+------------+------------------+
| [...]/filters/Resize.filter.php  | 4.0.6   | gd         |                  |
+----------------------------------+---------+------------+------------------+
| [...]/filters/Palette.filter.php | 4.0.6   | gd         |                  |
+----------------------------------+---------+------------+------------------+
| [...]/instantpicture.inc.php     | 4.0.6   | hash       |                  |
|                                  |         | gd         |                  |
+----------------------------------+---------+------------+------------------+
| [...]/instantpicture.conf.php    | 3.0.0   |            |                  |
+----------------------------------+---------+------------+------------------+
| [...]/instantpicture.php         | 4.0.5   |            |                  |
+----------------------------------+---------+------------+------------------+