Actions
Bug #80081
closedEpic #77810: Improve (responsive) image handling
MediaViewHelper does not support data-focus-area attribute
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="{"x":646.6666666666666,"y":431,"width":646.6666666666666,"height":431}" src="/fileadmin/_processed_/1/8/csm_705K6999_6a088ae0a1.jpg" width="1837" height="1033" alt="">
Actions