Feature #14606
closedImage resize keeping aspect ratio
0%
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)
Updated by Stanislas Rolland over 19 years ago
In version 0.4.60, if you set a dimension and unset the other, the aspect ratio will be preserved (setting only one attribute and relying on the browser to display correctly).
Updated by Bart Dubelaar about 13 years ago
- Status changed from Closed to New
- Target version deleted (
0)
This behavior popped up again (4.5.5). The correct aspect ratio is only shown after hitting the save button. While editing the correct aspect ratio is not shown.
Updated by Bart Dubelaar about 13 years ago
Related to bug #18261. A choice needs to be made, which behavior is wanted. Now it is a mix.
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
- TYPO3 Version set to 4.5
Does this problem persists in newer TYPO3 CMS 4.5 or maybe in 6.0?
Updated by Robert Markula over 11 years ago
This problem is still present in TYPO3 CMS 4.7.10.
Updated by Alexander Opitz over 11 years ago
- Status changed from Needs Feedback to Accepted
Updated by Riccardo De Contardi over 7 years ago
- Status changed from Accepted to Closed
- Assignee deleted (
Stanislas Rolland)
We are sorry, but we close this issue as now TYPO3 uses CKEditor where the issue is not present (the image support has been disabled in CKeditor) and RTEHtmlarea development has been stopped.
RTEHtmlarea has been decoupled from the core and its code is available on GitHub:
https://github.com/FriendsOfTYPO3/rtehtmlarea
If you still need this fixed please create a PR on GitHub