This code is based on PHPThumb, located at: http://phpthumb.gxdlabs.com/ https://github.com/masterexploder/PHPThumb
-
Copy files to your library directory
-
Initiate the code, example:
$image = PhpThumb_Factory::create('/path/to/the/image.jpg', array('jpegQuality' => 90)); $image->resize(360); $image->save('/path/to/the/new/image.jpg');
-
Modify the parameters to fit your needs. (Original documentation: https://github.com/masterexploder/PHPThumb/wiki)
- Initial release