neuedaten/svg-embed

TYPO3 CMS view helper to embed SVG files

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 1

Type:typo3-cms-extension

v0.9.2 2020-09-12 20:32 UTC

This package is not auto-updated.

Last update: 2021-03-28 22:15:22 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"/>

FAL id:

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