In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0001370 [In-Portal CMS] Front End bug report always 2012-07-26 13:27 2012-07-26 13:29
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.1-B1
Status resolved Product Version 5.0.0 Target Version 5.2.1
Time EstimateNo estimate
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.
Additional Information
Tags No tags attached.
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
Attached Files patch file icon resizing_of_corrupted_jpeg_images_fix.patch [^] (386 bytes) 2012-07-26 13:27 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0005126)
alex (manager)
2012-07-26 13:28

Will test all together later.
User avatar (0005127)
alex (manager)
2012-07-26 13:29

Fix committed to 5.2.x branch. Commit Message:

Fixes 0001370: Image resize not working in some cases

- Related Changesets
In-Portal CMS: 5.2.x r15505
Timestamp: 2012-07-26 13:29:34
Author: alex
Details ] Diff ]
Fixes 0001370: Image resize not working in some cases
mod - /in-portal/branches/5.2.x/core/units/helpers/image_helper.php Diff ] File ]

- 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



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker