note 33061 rejected from function.imagecreatefromjpeg by sp

From: Date: Sun, 15 Jun 2003 14:10:35 +0000
Subject: note 33061 rejected from function.imagecreatefromjpeg by sp
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-50380@lists.php.net to get a copy of this message
Note Submitter: ai.unit@yusran.com ---- Hi, I'm getting the following error: Fatal error: Call to undefined function: imagecreatefromjpeg() in D:\Data\members\yusran\html\printThumbnail.php on line 16 does this mean that my web host does not have the GD installed? or could it be something else? PHP ver 4.2.3 is installed. --snip-- list($org_width,$org_height,$orgtype) = getimagesize($imgfile); switch($orgtype) { case 1: $im = imagecreatefromgif($imgfile); break; case 2: $im = imagecreatefromjpeg($imgfile); break; case 3: $im = imagecreatefrompng($imgfile); break; } --snip-- thanks sam

« previous php.notes (#50380) next »