Bug #80081

Epic #77810: Improve (responsive) image handling

MediaViewHelper does not support data-focus-area attribute

Added by Joerg Boesche over 2 years ago. Updated almost 2 years ago.

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

100%

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="">

Associated revisions

Revision 0392875b (diff)
Added by Joerg Boesche over 2 years ago

[BUGFIX] MediaViewHelper does not render data-focus-area attribute

The media view helper should support the new data-focus-area attribute
for image manipulation. Just like the ImageViewHelper does.

Resolves: #80081
Releases: master
Change-Id: I89395ae974b72522d1c4c97d0dae38dd65495ae3
Reviewed-on: https://review.typo3.org/51919
Tested-by: TYPO3com <>
Reviewed-by: Joerg Boesche <>
Tested-by: Joerg Boesche <>
Reviewed-by: Helmut Hummel <>
Tested-by: Helmut Hummel <>
Reviewed-by: Claus Due <>
Reviewed-by: Morton Jonuschat <>
Tested-by: Morton Jonuschat <>

History

#1 Updated by Joerg Boesche over 2 years ago

  • Parent task set to #77810

#2 Updated by Gerrit Code Review over 2 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 2 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 2 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 2 years ago

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

#6 Updated by Riccardo De Contardi almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF