- Issue created by @Christian.wiedemann
- 🇩🇪Germany D34dMan Hamburg
In some cases it makes sense to have no fixed aspect ratio for images. For example if you want to embed an image inside CKEditor.
I am not convinced that image inside a CKEditor is an exception. Since the logic can also be applied to a teaser image which should behave similarly. (If the design calls for variable height image for teasers, so be it!).
Am not against a request to "preserve" original aspect ratio. However, this should be a cautious choice from Site-builder. And your proposal to add this to rift should achieve that.
We need to do a discovery on what needs to be done to make this happen.
- 🇩🇪Germany Christian.wiedemann
I added a very simple mechanism which checks if the aspect ratio is "scale".
- 🇩🇪Germany D34dMan Hamburg
@christian.wiedemann, I have pushed a slightly modified work to 2.x branch. Could you please test it out?
What is pending is, Adding a "nop" as "Preserve original aspect ratio" to the select list. Until then, you would have to add "nop" as an aspect ratio to global settings and use that. Automatically closed - issue fixed for 2 weeks with no activity.