As an admin, I can successfully upload an image. As an auth user, I got a consisten Fatal Error ... image.gd.inc line 302. I tried messing with the image resolution for user settings, reduced it down to 480x480 (lower case x).
Now I have a new message, but at least fatal error is gone.
* Warning: imagejpeg() [function.imagejpeg]: gd-jpeg: JPEG library reports unrecoverable error: in image_gd_save() (line 272 of /home/www/-----/drupal/modules/system/image.gd.inc).
* Notice: getimagesize() [function.getimagesize]: Read error! in image_gd_get_info() (line 349 of /home/www/-----/drupal/modules/system/image.gd.inc).
* Notice: getimagesize() [function.getimagesize]: Read error! in image_gd_get_info() (line 349 of /home/www/-----/drupal/modules/system/image.gd.inc).
I have increased the MB upload limit to 14 MB, that's not the problem. The drupal image upload limit is 10 MB.
Comments
Comment #1
casaba commentedI am having (I believe) the same problem. When trying to upload an image, I get the following:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 2480 bytes) in .../modules/system/image.gd.inc on line 237
However, while shmolf indicated that uploading was possible as Administrator, I am unable to upload as Administrator.
Any help appreciated.
Comment #2
star-szrI was unable to reproduce this on a clean install of Drupal 7.7.
The picture uploads successfully and a thumbnail is generated.
This sounds more like GD is not configured properly on your server, since
imagejpeg()andgetimagesize()are failing.