Actions
Bug #37597
closedNegative image width if first image is a png
Start date:
2012-05-30
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
How to reproduce:
Select a content element of type "Image" and add e.g. 3 images. If the first image is a png and the other two images are jpgs, the image size of the first image is negative. Don't select a width or height and set the number of columns to 3.
If you move one of the jpg images to the first position, the image width is calculated correctly.
This happens in version 4.5.15 and in the current master.
I searched in class.tx_cssstyledcontent_pi1.php for a while, but I am not sure how to solve this. I will push a patch to review in a couple of minutes, but my guess is, that this is not enough to fix this correctly.
Files
Actions