-
Type: Bug Report
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.0.0
-
Fix Version/s: 5.2.1-B1
-
Component/s: Front End
-
Labels:None
-
External issue URL:
-
Change Log Message:Fixing broken JPEG images are not being resized at all problem
-
Story Points:1
-
External issue ID:1370
-
Copy Issue Key:
-
Patch Instructions:
In most cases images are sized properly, but image I've attached didn't resize and is producing following errors in debugger:
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Corrupt JPEG data: 359094 extraneous bytes before marker 0xd9 in w:\in-portal\core\units\helpers\image_helper.php on line 188
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '.../system/images/Buddy on the porch.jpeg' is not a valid JPEG file in w:\in-portal\core\units\helpers\image_helper.php on line 188
At first I though image is broken, but it'd GD & libjpeg thinks what way. I can open that image on my PC using any program, even Photoshop.
Line, where error is happening says:
$src_image_rs = imagecreatefromjpeg($src_image);
I thought that I need to update JPEG library, but I already have latest version 6b from 1998 year.
- mentioned in
-
Wiki Page Loading...