zocim/php-thumb

There is no license information available for the latest version (2.0.x-dev) of this package.

A library for manipulating images in PHP.

2.0.x-dev 2012-06-03 18:03 UTC

This package is not auto-updated.

Last update: 2024-04-13 10:49:38 UTC


README

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

Developing

While I know it's somewhat discriminatory in the PHP world since many of you are still on windows (thus making working with ruby a bit more difficult), I've created a rakefile that takes care of common tasks (such as generating docs, building release tarballs, etc.) This probably isn't relevant to anything you would be doing unless you want to fork this project and release your version of it.

On that note, if you'd like to contribute to the project, you can either fork it and submit back to me, or you can ask to be a contributor. Reach out to me if you're interested, I'm happy to chat :)

License

PHP Thumb is released under MIT license.