• Stars
    star
    980
  • Rank 46,542 (Top 1.0 %)
  • Language
    PHP
  • Created about 15 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PHP Thumbnail & Image Manipulation Library

Build Status

PHP Thumb

NOTICE -

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

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.