Project

General

Profile

Actions

Bug #80081

closed

Epic #77810: Improve (responsive) image handling

MediaViewHelper does not support data-focus-area attribute

Added by Joerg Boesche about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Fluid
Target version:
Start date:
2017-03-01
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The FLUID viewhelper "Media" does not support the image manipulation attribute "data-focus-area". There is no output in the frontend rendering. The ImageViewHelper supports the data-attribute.

Current
<img class="desktop" src="/fileadmin/_processed_/1/8/csm_705K6999_6a088ae0a1.jpg" width="1837" height="1033" alt="">

Should be:
<img class="desktop" data-focus-area="{&quot;x&quot;:646.6666666666666,&quot;y&quot;:431,&quot;width&quot;:646.6666666666666,&quot;height&quot;:431}" src="/fileadmin/_processed_/1/8/csm_705K6999_6a088ae0a1.jpg" width="1837" height="1033" alt="">

Actions

Also available in: Atom PDF