Summarizing the Learning

Demo page

$thumb = new Thumb();
$thumb->loadImage('images/image.jpg');
$thumb->resize(100, 'width');
$thumb = new Thumb();
$thumb->loadImage('images/image.jpg');
$thumb->crop(150, 150, 'center');
$thumb = new Thumb();
$thumb->loadImage('images/image.jpg');
$thumb->crop(200, 215, 'top');