dannytrue / phpthumb
A library for manipulating images in PHP.
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2024-10-26 14:12:18 UTC
README
PHP Thumb
NOTICE - from Jarrod Nettles (the forker)
I've made some very radical changes to this library in getting it ready for PHP 5.3. My goals are to get it into a PSR-0 compliant state and into packagist as such so that it can be easily used in any project. If you intend to use my code, bear in mind that most of the documentation is no longer relevant. Instead, look at the examples folder in the project as I've updated each of them to reflect the new API.
The API is still in flux, as I haven't exactly pinned down where I'd like to take some parts so take anything you see with a grain of salt.
PHP Thumb is a light-weight image manipulation library aimed at thumbnail generation. It features the ability to resize by width, height, and percentage, create custom crops, or square crops from the center, and rotate the image. You can also easily add custom functionality to the library through plugins. 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.
More information and documentation is available at the project's homepage: http://phpthumb.gxdlabs.com
Documentation / Help
I've tried to thoroughly document things as best I can, but here's a list of places to find documentation / help:
- Documentation - Your best friend, the library docs
- Forums - Got questions, comments, or feedback? This is the place to visit
- Developer Docs - Auto-generated docs for developers… these cover the code itself
License
PHP Thumb is released under MIT license.