Project

General

Profile

Actions

Bug #17107

closed

maxW for image rows is not the maximum

Added by Ralf Hettinger about 17 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Content Rendering
Target version:
-
Start date:
2007-03-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If a given maximum width for more than one image in a row is set and this imagerow is wider than the given width, that currently doesn't mean in every case that the given value really is the maximum: If there is some remainder left after dividing the maximum space for all images in a row through the number of images, the image sizes will be ceiled and an image row therefore wider than maxW.

This might result in image rows being up to 1 pixel less than the number of images in a row wider than maxW would allow the imagerow to be and may harm a layout badly - and goes the worse the more one imagerow has columns.

There is no reason for this behaviour - I'd suggest to simply substract one pixel from each image in a row as long as there is some remainder left from the division. This results in image rows normally being wider will have the exact maximum width and every single image having still about the same width with +-1 pixel.

(issue imported from #M5186)


Files

0005186-4.1.0.RC2.patch (869 Bytes) 0005186-4.1.0.RC2.patch Administrator Admin, 2007-03-10 02:12
0005186-4.1.0.RC2.v2.patch (881 Bytes) 0005186-4.1.0.RC2.v2.patch Administrator Admin, 2007-03-10 02:19
0005186-4.1.0.RC2.v3.patch (996 Bytes) 0005186-4.1.0.RC2.v3.patch Administrator Admin, 2007-03-10 02:47
5186_example.jpg (102 KB) 5186_example.jpg Administrator Admin, 2007-04-20 14:50
5186_trunk.patch (1.18 KB) 5186_trunk.patch Administrator Admin, 2008-01-26 11:40
5186_4.3.alpha1.patch (2.04 KB) 5186_4.3.alpha1.patch Administrator Admin, 2008-12-22 23:31
0005186_4.4trunk-rev6782.patch (2.11 KB) 0005186_4.4trunk-rev6782.patch Administrator Admin, 2010-01-16 19:00
typo3-v443dev-rev8607.patch (3.96 KB) typo3-v443dev-rev8607.patch Administrator Admin, 2010-08-20 14:47
typo3-v443dev-rev8642.patch (7.72 KB) typo3-v443dev-rev8642.patch Administrator Admin, 2010-08-23 12:52
bug_5186.patch (8 KB) bug_5186.patch Administrator Admin, 2010-10-06 10:10
typo3-maxW-bug.png (666 KB) typo3-maxW-bug.png Administrator Admin, 2010-11-11 10:33
typo3-maxW-bug-corrected.png (662 KB) typo3-maxW-bug-corrected.png Administrator Admin, 2010-11-11 10:33

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #25264: Multi-Column image generation broken after update from 4.3.9 to 4.3.11Closed2011-03-07

Actions
Actions

Also available in: Atom PDF