PHP Thumb » Discussion » 3rd Party Integration

PhpThumb and Zend Framework integration

(2 posts)
  1. diegotdai
    Member

    Hi everyone,

    I'm trying to integrate PhpThumb with Zend Framework. I'm having some troubles though, does anyone have done this or have any reference which I can look at...

    Cheers

    Posted 2 years ago #
  2. Easiest / best way is to write a custom Autoloader. I blogged about how to do that here.

    Only thing you'll want to change in the actual source (assuming you want to use ImageMagick, which you do - it's much faster) is in ThumbLib.inc.php:

    Change:
    define('DEFAULT_THUMBLIB_IMPLEMENTATION', 'gd');
    To:
    define('DEFAULT_THUMBLIB_IMPLEMENTATION', 'imagick');

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.