Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Nitro

Pages: [1]
1
Installation, Update & Configuration / hehe zu früh gefreut
« on: February 10, 2003, 12:21:10 AM »
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:
Code: [Select]
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;
}

2
Installation, Update & Configuration / es klappt
« on: February 05, 2003, 06:03:57 PM »
Jo genau das wars. Nun klappt alles perfekt.
Vielen Dank für die Hilfe, denn ich wär nie drauf gekommen. :D

3
Installation, Update & Configuration / php 4.3.0 und GD Biblothek
« on: February 04, 2003, 05:09:20 PM »
Also vor kurzem wurde auf dem Server wo euer geniales Script installiert ist, ein Update auf PHP 4.3.0 durchgeführt. Normalerweise ist es doch so, dass die GD Biblothek in PHP 4.3.0 integriert ist. Nur wenn ich es im Control Panel einstelle meldet er mir immer das er keine GD Biblothek gefunden hat. Woran liegts??? :?:

Pages: [1]