Project

General

Profile

Actions

Feature #93550

open

SVG Inline ViewHelper

Added by Marcus Schwemer about 3 years ago. Updated about 2 years ago.

Status:
Under Review
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.

Actions

Also available in: Atom PDF