ErrorException: imagecreatefromjpeg(): gd-jpeg, libjpeg: recoverable error: Corrupt JPEG data: 51 extraneous bytes before marker 0xd9 in /var/www/html/library/XenForo/Image/Gd.php on line 78
I Googled around and found that I had to set the following php.ini setting:
gd.jpeg_ignore_warning = 1
I had to replace (in XenForo_Image_Gd):
$image = imagecreatefromjpeg($fileName);
$image = @imagecreatefromjpeg($fileName);
I have attached a .zip of the image and the image too. XenForo.com apparently did not have a problem interpreting the image.
Can you please enlighten me as to what is wrong with my PHP setup? Is it error_reporting? Could you perhaps share copies of your php.ini where this works? Are you using gd?
105 KB Views: 0
105 KB Views: 6