Attention
TYPO3 v11 has reached end-of-life as of October 31th 2024 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v10 here: TYPO3 ELTS.
SVG
With this object type you can insert a SVG. You can use XML data directly or reference a file.
Properties
cache
-
- Type
- cache
See cache function description for details.
width
height
src
renderMode
stdWrap
-
- Type
- ->stdWrap
Example
Output the SVG with the defined dimensions:
EXT:site_package/Configuration/TypoScript/setup.typoscript
10 = SVG
10 {
width = 600
height = 600
src = EXT:my_ext/Resources/Public/Images/example.svg
}
Copied!