PHP Thumbnailer Class v2.0
A PHP image manipulation class, aimed at generating thumbnails. It features the ability to resize by width, height, and percentage, create custom crops, or square crops from the center, rotate the image, and create AppleTM-style reflections. It also features the ability to perform multiple manipulations per instance (also known as chaining), without the need to save and re-initialize the class with every manipulation.
This class comes in both PHP 4 and 5 flavors
- You can now create custom crops, as well as square crops from the center of the image
- You can also rotate the image clock-wise or counter clock-wise in 90° increments
- You can now create those fancy Apple™-style reflections that are all the rage with the cool “web 2.0″ kids!
For the uninitiated, the class still contains it’s old features:
- Works with gif,jpg, and png images
- Ability to resize by percentage, width, or height
- Ability to set quality of jpg images (0-100%)
- Ability to perform multiple manipulations and saves without re-initializing class, or reloading original image
- Ability to display manipulated image on the fly, enabling dynamic image generation in your scripts