Issue Feature Closed

#93247Modernize "Textmedia" and extend "Media Adjustments"

Jan Kornblum 01/08/21, 15:22 updated 04/16/25, 16:08

Description

Options for “Textmedia” set by “Media Adjustments” should be modernized. In my opinion “imagewidth” and “imageheight” don’t make sense any longer in times of responsive websites. Instead, two new options should be added:

1. text_media_ratio
Pallete “Media Adjustments” should get an additional select box “text_media_ratio”. Using this, an editor can select values like 1:1, 2:1, 1:2 for the aspectratio between text and media (affecting imageorient “in text” and “besides text”).

2. media_aspectratio
Pallete “Media Adjustments” should get an additional select box “media_aspectratio”. Using this, an editor can select values like 2:1, 4:3, 1:1, 3:4, 1:2 (like sys_file_reference crop variants) for the aspectratio of all assigned media elements (including youtube!). This way a content elements different media files (image, video, youtube) could be rendered with the same aspectratio easily.

For both, fluid_styled_content css should be extended to deliver the additional styles. For “media_aspectratio”, youtube and vimeo iframe embeds should be scaled using “padding-bottom” hack to be repsonsive per default.

Plase contact me for a live demo.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.