http://www.php.net/manual/en/function.imagecreatefromjpeg.php

After using this code for some time it suddenly returns ...

Fatal error: Call to undefined function: imagecreatefromjpeg() in 
/home/crushme/public_html/includes/inc_members.php on line 564


<?Php

// SNIP

       $quality="70"; // JPEG Image Quality (0-95 Higher Value == Better)
       // Resize Create the Output Image (Do Not Disturb this part)
       $src_img = imagecreatefromjpeg("$src_img");
       $dst_img = imagecreatetruecolor($dest_width,$dest_height);
       imagecopyresampled($dst_img, $src_img, 0, 0, 0, 0, $dest_width, $dest_height, 
$src_width, $src_height);
       imageinterlace($dst_img, 1);
       imagejpeg($dst_img, "$dest_file", $quality);
       imagedestroy($src_img);
       imagedestroy($dst_img);

// SNIP

?>

Is this the server or code that needs to be changed.

Reply via email to