Bug #80081

Epic #77810: Improve (responsive) image handling

MediaViewHelper does not support data-focus-area attribute

Added by Joerg Boesche over 4 years ago. Updated about 4 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="{"x":646.6666666666666,"y":431,"width":646.6666666666666,"height":431}" src="/fileadmin/_processed_/1/8/csm_705K6999_6a088ae0a1.jpg" width="1837" height="1033" alt="">

#1

Updated by Joerg Boesche over 4 years ago

  • Parent task set to #77810
#2

Updated by Gerrit Code Review over 4 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51919

#3

Updated by Gerrit Code Review over 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51919

#4

Updated by Gerrit Code Review over 4 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51919

#5

Updated by Joerg Boesche over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#6

Updated by Riccardo De Contardi about 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF