This is how I would fix it....
First - make sure 100% that your "Use GD" is off in the admin panel - or you may be troubleshooting the wrong thing!
In /inc/images.inc.php - will see the function
function produceSecurityImage( $text, $hash )
That gets called from /simg/simg.php
Look in the else section (not using GD)
@exec( $cmd );
This is done two times - once to make the background image, and a second time to put the text on that image.
You could troubleshoot it by
1) edit the value for the preceeding
Code:
$cmd = "$CONVERT {$dir['root']}simg/images/bg{$backgroundIndex}.png -crop {$sizeX}x{$sizeY}+{$backgroundOffsetX}+{$backgroundOffsetY} $workFilename";
$cmd = "$CONVERT {$dir['root']}tmp/bg{$hash}.png -font $fontFile -fill \"{$color}\" -pointsize $fontSize -gravity NorthWest -draw \"translate {$textX},{$textY} rotate {$angle} text 0,0 '{$text}'\" $workFilename";
into something very basic and simple. Instead of using the variables in the cmd statements - hard code in or remove as needed. The goal is to get it to work - all the fancy stuff makes no difference now - you can re-add that in later.
2) If still trouble - run the command from $cmd statements in ssh - so you can see how ImageMagick behaves with them.
Smoge
Bookmarks