Project

General

Profile

Actions

Feature #93247

open

Modernize "Textmedia" and extend "Media Adjustments"

Added by Jan Kornblum over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Should have
Assignee:
Category:
Fluid Styled Content
Target version:
-
Start date:
2021-01-08
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
fluid_styled_content, textmedia, responsive
Complexity:
Sprint Focus:

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.

Actions #1

Updated by Jan Kornblum over 3 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF