Project

General

Profile

Actions

Feature #93550

closed

SVG Inline ViewHelper

Added by Marcus Schwemer almost 4 years ago. Updated about 1 month ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2021-02-19
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

Currently it is possible to render inline svgs via a the cObject viewhelper and a cObject of type SVG.

It would be more convenient to have a separate SVG inline viewhelper, which supports the current and not deprecated attributes of svg as arguments.

The syntax would look like

   <f:svgInline source="<path/to/your/svg.svg>" height="200" width="200" viewBox="0 0 100 100" class="my_css_class" />

I would be happy to implement it, if you think, that this is a good idea.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #101391: Add base64 option to ImageViewHelperClosed2023-07-19

Actions
Actions

Also available in: Atom PDF