Project

General

Profile

Actions

Bug #79836

closed

fluid f:image SVG processing

Added by David C. about 7 years ago. Updated over 6 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 2 (0 open2 closed)

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
Actions #1

Updated by Georg Ringer about 7 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

Actions #2

Updated by Patrick Crausaz about 7 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}" />

Actions #3

Updated by David C. about 7 years ago

Yes, images are rendered as mentioned in description:

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

Actions #4

Updated by Frans Saris about 7 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

Actions #5

Updated by Frans Saris about 7 years ago

  • Sprint Focus set to Stabilization Sprint
Actions #6

Updated by Gerrit Code Review about 7 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

Actions #7

Updated by Gerrit Code Review about 7 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

Actions #8

Updated by Frans Saris about 7 years ago

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

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF