es funzt noch net alles perfekt. Und zwar wenn ich die Auto.Thumbnailer oder Auot-Image-Resizer Funktion anwenden will bekomme ich immer so eine Meldung:
Konvertiere Bild-Datei: screen1.jpg (560x420) ....
Fatal error: Call to undefined function: imagecreate() in /www/home/utf.dreamworld.de/pub/htdocs/www-data/home/4images/includes/image_utils.php on line 66
und hier der Code:
function resize_image_gd($src, $dest, $quality, $width, $height, $image_info) {
global $convert_options;
$types = array(1 => "gif", 2 => "jpeg", 3 => "png");
if (defined('CONVERT_IS_GD2') && CONVERT_IS_GD2 == 1) {
$thumb = imagecreatetruecolor($width, $height);
}
else {
$thumb = imagecreate($width, $height);
}
$image_create_handle = "imagecreatefrom".$types[$image_info[2]];
if ($image = $image_create_handle($src)) {
if (defined('CONVERT_IS_GD2') && CONVERT_IS_GD2 == 1) {
imagecopyresampled($thumb, $image, 0, 0, 0, 0, $width, $height, ImageSX($image), ImageSY($image));
}
else {
imagecopyresized($thumb, $image, 0, 0, 0, 0, $width, $height, ImageSX($image), ImageSY($image));
}
$image_handle = "image".$types[$image_info[2]];
$image_handle($thumb, $dest, $quality);
imagedestroy($image);
imagedestroy($thumb);
}
return (file_exists($dest)) ? 1 : 0;
}