Bug #79836

fluid f:image SVG processing

Added by David C. over 4 years ago. Updated almost 4 years ago.

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

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
fluid
Complexity:
Is Regression:
Yes
Sprint Focus:
Stabilization Sprint

Description

Introduced in 8.6, when using SVG files with the f:image view-helper, frontend output is broken.
Seems like the SVG is tried to be processed.

Example frontend rendering:
8.5 >

<img src="/typo3conf/ext/myextension/Resource/Public/Images/image.svg" width="" height="" />

8.6 >
<img src="/typo3_temp/assets/_processed_/#/#/###.svg" width="" height="" />


Files

fluid.png (37.1 KB) fluid.png Patrick Crausaz, 2017-02-15 21:20

Related issues

Related to TYPO3 Core - Story #75880: Add art direction capabilities to BEClosed2017-02-23

Actions
Related to TYPO3 Core - Bug #79903: Processing of SVG, AI etc is brokenClosed2017-02-19

Actions
#1

Updated by Georg Ringer over 4 years ago

  • Status changed from New to Needs Feedback

how to you render those images? using typoscript, fluid_styled_content, ... please add some code to reproduce that

#2

Updated by Patrick Crausaz over 4 years ago

He renders these images with the Fluid ViewHelper of fluid_styled_content in a Fluid template file. Like this:

<f:image image="{image}" />

#3

Updated by David C. over 4 years ago

Yes, images are rendered as mentioned in description:

<f:image src="EXT:my_ext/Resources/Public/Images/image.svg" />

#4

Updated by Frans Saris over 4 years ago

  • Status changed from Needs Feedback to Accepted

Breaks also when adding a SVG to a text-media CE. In 7.6 this works. And when cropped a .gif image is created

#5

Updated by Frans Saris over 4 years ago

  • Sprint Focus set to Stabilization Sprint
#6

Updated by Gerrit Code Review over 4 years ago

  • Status changed from Accepted 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/51749

#7

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/51749

#8

Updated by Frans Saris over 4 years ago

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

Updated by Riccardo De Contardi almost 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF