<? PHP print_r(gd_info()); ?>
I have checked and made sure the extensions are enabled in php.ini.
But the script I am running generates a the form, but no image, just the missing image "x". No errors or anything else.
I actually have a variation of the script running that does not use image magick commands and it works fine. Here is the code I am not using, but want to:
# prepare our image magick command $cmd = '/usr/bin/convert'; $cmd .= ' -font "'.$font.'"'; $cmd .= ' -fill "#'.$color.'"'; $cmd .= ' -pointsize '.$size; $cmd .= ' -gravity "'.$gravity.'"'; $cmd .= ' -draw \'text 0,0 "'.$textstr.'"\''; $cmd .= ' -rotate '.$angle; $cmd .= ' ./'.$im.' ./images/tmp/'.$tmpname;
If you cannot tell, I am creating a security image and can do this fine with the script that does not use the image magick. But the security text is flat and this commands above are to twist and angle each alphanumeric to help keep it from being easily picked apart.