This project was recently updated to 2.0 and is PSR-0 compliant and supports Composer integration. Some parts of the documentation are incorrect as they haven't been updated for the new version. Your 1.0 code is not compatible with 2.0! Please review the updated examples for how to use the new version.
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 wiki: https://github.com/masterexploder/PHPThumb/wiki
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
PHP Thumb is released under MIT license.