[TYPO3-core] FYI24: #14761: Image height is ignored if compression is set to None

Dmitry Dulepov dmitry.dulepov at gmail.com
Thu Jun 17 13:04:08 CEST 2010


Hi again!

Dmitry Dulepov wrote:
> Problem: the bug applies to all content elements that have "Media" tab. Set
> image height to 100 and compression to "None". Attach a large image and
> look at the page in FE. Image is large. Change compression to something
> else. Image will be 100 pixels high. Thus setting compression to "None"
> prevents using "Height" field.
> 
> Solution: change CSS styled content code to save the height before
> unsetting ['file.'].

I think there is a problem :( TSRef says that compression=None "removes all
parameters for the image_object". In my opinion this is wrong because users
are confused. The chose no compression but they also lose height control.

So for now this is dropped. I'll keep it locally and in the bug tracker if
anybody thinks it is still good to manipulate height while keeping objects
uncompressed.

-- 
Dmitry Dulepov
TYPO3 expert / TYPO3 core&security teams member
Twitter: http://twitter.com/dmitryd
Read more @ http://dmitry-dulepov.com/


More information about the TYPO3-team-core mailing list