Project

General

Profile

Actions

Feature #93247

open

Modernize "Textmedia" and extend "Media Adjustments"

Added by Jan Kornblum almost 4 years ago. Updated almost 4 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 almost 4 years ago

  • Description updated (diff)
Actions #2

Updated by Riccardo De Contardi 6 months ago

  • Related to Bug #101951: Adding file references from media / info-dialogue not possible added
Actions #3

Updated by Riccardo De Contardi 6 months ago

  • Related to deleted (Bug #101951: Adding file references from media / info-dialogue not possible)
Actions

Also available in: Atom PDF