Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
PHP Image Resizer: Instant Picture Creator produces images on demand for websites.
branch: master

Merge pull request #2 from seebi/master

only some niceups + a preset to apply no filters via an empty filter stack
latest commit 407871de9f
Michael Haschke authored
Failed to load latest commit information.
filters
README.md README markdowned
instantpicture.conf.php dos2unix, no trailing whitespaces, no tabs, no ending php tags
instantpicture.inc.php enhance applyFilters method and niceup code a little bit
instantpicture.php dos2unix, no trailing whitespaces, no tabs, no ending php tags
user.htaccess [add] initial svn release (Instant Picture Creator 0.1)

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   |            |                  |
+----------------------------------+---------+------------+------------------+
Something went wrong with that request. Please try again.