RE: [PHP] Imagecreatefromjpeg()

From: Date: Thu, 16 Jan 2003 19:19:09 +0000
Subject: RE: [PHP] Imagecreatefromjpeg()
Groups: php.general 
Request: Send a blank email to php-general+get-131920@lists.php.net to get a copy of this message
> > <? > Header("Content-type: image/jpeg"); > $im = ImageCreateFromJpeg('1234_1.jpg'); > ImageJpeg($im);?> > > The file is in the folder, it has execute and write > permissions set, and the error given is "The image > cannot be displayed, because it contains errors.", > which is not very useful. Anyone have any suggestions? Comment out the header statement and see if gd tells you anything.

« previous php.general (#131920) next »