Closed (fixed)
Project:
Responsive Image Formatter Tools (RIFT)
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Jul 2025 at 19:40 UTC
Updated:
8 Aug 2025 at 08:10 UTC
Jump to comment: Most recent
Comments
Comment #2
d34dman commentedI 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.
Comment #4
christian.wiedemann commentedI added a very simple mechanism which checks if the aspect ratio is "scale". We need propably a better ui or should we extend image handling in genera and scale is just a type.
Comment #5
christian.wiedemann commentedComment #6
d34dman commentedComment #8
d34dman commented@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.
Comment #11
d34dman commentedComment #12
christian.wiedemann commentedThanks!
Comment #14
d34dman commented