dev-master
9999999-dev https://github.com/roketID/php-imagemaxSimple helper to generate ImageMax URL
MIT
The Requires
- php >=5.5.3
by Mokhamad Rofiudin
Simple helper to generate ImageMax URL
PHP helper to make life easier with ImageMax(TM) image convertion, (*1)
Helper :
```` php
// Configuration
$config = [
'canonical' => '
// Initial $imx = new ImageMax($config);, (*3)
// Get thumbnail URL $imx->make('files/my_picture.jpg', 'thumb');, (*4)
// with different format, mention it in third parameter $imx->make('files/my_picture.jpg', 'thumb', 'png');, (*5)
// Get image directly from options array $imx->make('files/my_picture.jpg', [ 'w' => 128, // width 'h' => 128, // height 'q' => 8, // quality 'fm' => 'jpg', // format 'bri' => -10, // brightness ]);, (*6)
// Get image from absolute URL $imx->make('https://my.base.url/files/my_picture.jpg', 'thumb');, (*7)
Simple helper to generate ImageMax URL
MIT