Quote from: mIDO at Jul 29, 2013, 09:38 AM
jgrant, the command returns /usr/bin/convert
I have no functions disabled.
Hmm, then ImageMagick is available and the next question is whether phpThumb is finding it or not. To determine that you have to look at the debug messages phpThumb generates when it runs.
Edit the phpThumbOf snippet and change the last line from
return $thumbnail->render();
to
$debug = TRUE;
$image = $thumbnail->render();
if ($debug) {
$modx->log(modX::LOG_LEVEL_ERROR, 'phpThumb debug output:' . substr(print_r($thumbnail->phpThumb->debugmessages, TRUE), 7, -2) . "----------------------\n");
}
return $image;
Then either edit a resource using a zoom cropped image and replace the image with a new one or remove the existing image from the phpThumbOf cache, then visit the page. The idea is to make phpThumb generate a new image from scratch. Check the error log and copy & paste all the output it generates here, 20 lines or so.
After you've got that, edit the phpThumbOf snippet again and change $debug to FALSE to turn off the logging.
Or you could switch to
pThumb, my fork of phpThumbOf. It's got this debug feature built in so you don't have to edit the snippet code, just change debug in the default properties from No to Yes.