views:

486

answers:

5

Hi,
I'm having a problem with phpThumb. It says in the documentation that to get the best out of it, use ImageMagick / Imagick.

I've got this installed on the Server (running Centos 5.1), and can run convert --version and get the right info back. I can also run which convert which returns /usr/bin/convert

However, phpThumb can't location the convert program - the demo's show that:

(requires ImageMagick, this server is running "n/a" so it will not work)

Does anyone have any pointers on how to fix this?

Cheers,
Matt

A: 

Have you checked phpinfo() to make sure imagick is installed? If not, you will need to install it.

ImageMagick Install Instructions

Thanks for the reply - yep, ImageMagick is installed and shows up in my phpinfo() through Apache, and through PHP on the command line.Matt
fistameeny
A: 

I too am having this issue. Imagick shows up in phpinfo, but is N/a from the phpThumb check.

Any help would be great.

Thanks,

Ben

Ben
A: 

Hmm am running into the same problem :) The code does not even look if the plugin is loaded so you need to set it yourself...

You can set it in ThumbBase.inc.php: look for: define('DEFAULT_THUMBLIB_IMPLEMENTATION', 'gd');

change to: define('DEFAULT_THUMBLIB_IMPLEMENTATION', 'imagick');

Only now it will want to load.. ImagickThumb.php which is not even in the package.. So I Think the author made some mistakes with this library under GD 2 all seems to work fine though..

Chris
A: 

So I'm running in to a similar problem, I have ImageMagick installed along with imagick and it's not recognizing.

I can't find anywhere on the internet that acknowledges this problem with the ImagicThumb library just not being included and I can't find this library anywhere... does anyone actually use phpThumb with ImageMagick? How do you get it to recognize it?

Gooseus