Cygnite - A Modern Toolkit For Web Developers

The Elegant Way of Building Full-Featured Web Applications

Cygnite Dynamic Routing

Thumbnail Components


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 = '';

Follow Us On Facebook Twitter Google+ Linkedin
Released Under The MIT Public License. Copyrights @2012-2017. Powered by- Sanjoy Dey Productions.