neuedaten/svg-embed

TYPO3 CMS view helper to embed SVG files

Installs: 848

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 1

Open Issues: 0

Type:typo3-cms-extension

v0.10.0 2021-06-25 17:41 UTC

This package is not auto-updated.

Last update: 2024-12-16 17:22:09 UTC


README

install:

composer req neuedaten/svg-embed

Use:

load namespace:

{namespace neuedaten=Neuedaten\SvgEmbed\ViewHelpers}

Use view helper:

File:

<neuedaten:svgEmbed src="EXT:your_extension/Resources/Public/Images/filename.svg"/>

FAL:

<neuedaten:svgEmbed src="{falObject}" srcType="FAL_OBJECT"/>

FAL id:

<neuedaten:svgEmbed src="{id}" srcType="FAL_ID"/>

ARRAY:

(an array like you get some times in a flux template) <neuedaten:svgEmbed src="{array}" srcType="ARRAY"/>