In-Portal Issue Tracker - In-Portal CMS
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Type: | Reproducibility: | Date Submitted: | Last Update: |
1370 | [In-Portal CMS] Front End | bug report | always | 2012-07-26 13:27 | 2012-07-26 13:29 |
|
|||||
Reporter: | alex | Platform: | |||
Assigned To: | alex | OS: | |||
Priority: | normal | OS Version: | |||
Status: | resolved | Product Version: | 5.0.0 | ||
Product Build: | Resolution: | fixed | |||
ETA: | none | Fixed in Version: | 5.2.1-B1 | ||
Reference: | https://groups.google.com/d/topic/in-portal-bugs/5NwzlHM8Gas/discussion | ||||
Change Log Message: | Fixing broken JPEG images are not being resized at all problem | ||||
Estimate Points: | 1 | ||||
|
|||||
Summary: | 0001370: Image resize not working in some cases | ||||
Description: |
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. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
resizing_of_corrupted_jpeg_images_fix.patch (386) 2012-07-26 13:27 http://tracker.in-portal.org/file_download.php?file_id=1773&type=bug |
||||
|
|||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-07-26 13:29 | alex | Changeset attached | 5.2.x r15505 | ||
2012-07-26 13:29 | alex | Note Added: 0005127 | |||
2012-07-26 13:29 | alex | Status | reviewed and tested => resolved | ||
2012-07-26 13:29 | alex | Fixed in Version | => 5.2.1-B1 | ||
2012-07-26 13:29 | alex | Resolution | open => fixed | ||
2012-07-26 13:29 | alex | Assigned To | !COMMUNITY => alex | ||
2012-07-26 13:28 | alex | Note Added: 0005126 | |||
2012-07-26 13:28 | alex | Status | needs testing => reviewed and tested | ||
2012-07-26 13:28 | alex | Assigned To | => !COMMUNITY | ||
2012-07-26 13:28 | alex | Developer | => alex | ||
2012-07-26 13:28 | alex | Status | active => needs testing | ||
2012-07-26 13:27 | alex | New Issue | |||
2012-07-26 13:27 | alex | File Added: resizing_of_corrupted_jpeg_images_fix.patch | |||
2012-07-26 13:27 | alex | Reference | => https://groups.google.com/d/topic/in-portal-bugs/5NwzlHM8Gas/discussion | ||
2012-07-26 13:27 | alex | Change Log Message | => Fixing broken JPEG images are not being resized at all problem | ||
2012-07-26 13:27 | alex | Estimate Points | => 1 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|