Bug #15522
closedCSS-styled-content resizes pictures too small after update
0%
Description
Updating an existing site that is using more than one image in "image" or "text with image" elements together with CSS-styled-content will scale the images to a much smaller size than before.
The more columns you set the smaller the images will be in the result.
Reason: The "width" property that can be set by the editor in the backend form is not treated as single image width anymore but as maxW instead, which is completely screwing up the current default behaviour in TYPO3 3.8.1
Since this behaviour can be only disabled manually by setting another width in each and every content element of the affected site I consider this to be a blocker.
If you don't have 3.8.1 available, you can "simulate" the old behaviour by disabling CSS-styled-content and using content(default) instead.
Create a content element "image" or "text with image" and upload at least 2 images with >100px width. Set the columns to 2 or more and set the width to 50.
With content(default) you will get images with 50px width each, whic is the default behaviour for CSS-styled-content in 3.8.1 too.
With the new CSS-styled-content you will get an image block with an overall size fo 50px inlucding spaces.
Since content(default) is behaving as expected, it seems that IMGTEXT is still rendered correctly, while the bug must be in the userFunc that is implemented with CSS-styled-content.
(issue imported from #M2995)
Files