Reply to No GIF create support

No GIF create support new!
by djpasica, 13 years, 4 months ago
I use class.upload.php version 0.30
when i try to upload image, i have that error:
No GIF create support

CHMOD to upoaded directory is fine (777)

my script:
require('../incfiles/class.upload.php');
$name = $user_id.'_'.($kol+1);
$handle = new upload($_FILES['imagefile']);
if ($handle->uploaded) {
  $handle->file_new_name_body = $name;
  $handle->allowed =  $handle->allowed = array('image/jpeg','image/gif','image/png');
  $handle->file_max_size = 1024 * 50;
  $handle->file_overwrite = true;
  $handle->image_resize = true;
  $handle->image_x = 128;
  $handle->image_y = 128;
  $handle->image_convert = 'gif';
  $handle->process('../images/foto/');
  if ($handle->processed) {
    mysql_query("...");
    echo 'good';
  else echo ($handle->error);
  $handle->clean();
Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important