Documentation
Thumbnail Image
Resize Image Using Thumbnail Component.
Thumbnail component bundled with Cygnite Framework. Generating thumbnail image is very simple. For Example :
use Apps\Components\Thumbnail\Image;
$thumb = new Image();
//Your image location anywhere inside the framework root directory
$thumb->directory = 'Your image location';
$thumb->fixedWidth = 100;
$thumb->fixedHeight = 100;
$thumb->thumbPath = 'webroot/';
$thumb->thumbName = '';
$thumb->resize();