Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Image manipulation in Zend Framework using PHP Thumbnailer Class v2.0
Sep 24, 2008 @ 11:12:18

In this recent post to the Ajaxray blog Anis Ahmad shows how to use the PHP Thumbnailer class inside of a Zend Framework application.

In the huge set of library, Zend Framework have no options for manipulating image. There is a proposal for Zend_Image which aimed to provides easier image manipulation using GD. But the proposal was not considered. [...] So, what to do when we need to make image thumbnail, resizeing or cropping image etc in Zend Framework?

He shows how to integrate the Thumbnailer class with the Framework - making it a library and implementing it within a controller (a private function called _createThumbnail).

tagged: zendframework thumbnailer class image manipulation