Hi all, I've been getting this warning when some people upload images to our site :
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /home/sherifo/private/includes/snapsutils.php on line 220
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/tmp/phpiw4MFk' is not a valid JPEG file in /home/pathremoved.php on line 220
Warning: imagesx(): supplied argument is not a valid Image resource in /home/pathremoved.php on line 222
Warning: imagesy(): supplied argument is not a valid Image resource in /home/pathremoved.php on line 223
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/pathremoved.php on line 240
Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/pathremoved.php on line 242
This only happens with certain images, which when opened in any program are ok, it even uploads to the version of the site I have on localhost with no problems...I googled a bit but found nothing conclusive...
I've put the problematic image here (it's 2mb) : http://www.buzzarab.com/bug/2.jpg
note php upload_max size is 5M and post_max_size is 5M. This is not an upload or memory issue. I've tested with 4M images without problems.
any help appreciated.