neuedaten/svg-embed

TYPO3 CMS view helper to embed SVG files

Installs: 677

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-06-17 15:00:51 UTC


README

SVG embed view helper for TYPO3 CMS

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"/>