neuedaten/svg-embed

TYPO3 CMS view helper to embed SVG files

Installs: 823

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-10-21 16:43:33 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"/>