Actions
Feature #14606
closedImage resize keeping aspect ratio
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2005-03-12
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
When changing the image width in the image properties of an inserted image, the image height should be sync'ed accourdingly to keep the image in aspect (and vice versa)
Background: As of now, when only one property (eg. the image width) is changed, the other property (height) remains unchanged, so the image is out of aspect. To keep the image in aspect, calculation has to be done manually by the user.
The desired behaviour can be seen in the 'Text with image' element in the Typo3 backend. There you have the possibility to define a 'maximum' width or 'maximum' height. As long as only one of them is defined, the image stays in aspect. When the user sets both, the image is resized accordingly.
(issue imported from #M881)
Actions