imagejpeg, imagecreatefromjpeg both choke
| From: | Brian Dunning | Date: | Fri, 09 Jan 2009 15:23:13 +0000 |
| Subject: | imagejpeg, imagecreatefromjpeg both choke | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-285839@lists.php.net to get a copy of this message | ||
I'm trying a stripped down test just to try to get this work. I have a valid jpeg on disk:
3.jpg <- 3316x2220, 3.6 MBAnd am trying either of the following: // This does nothing at all imagejpeg('3.jpg'); // This displays "failed" $im = imagecreatefromjpeg('3.jpg'); if(!$im) echo 'failed'; phpinfo() shows GD enabled, JPEG functions enabled, memory_limit at 256M, permissions on the file and the enclosing folder are 777. Any suggestions what else I can try to debug this?