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.
-
src
¶ -
SVG file resource, can also be referenced via
EXT:
prefix to point to files of extensions.Example:
src = fileadmin/svg/tiger.svg
Copied!
-
render
¶Mode -
Setting
render
to inline will render an inline version of the SVG.Mode
Example¶
Output the SVG with the defined dimensions:
10 = SVG
10 {
width = 600
height = 600
src = EXT:my_ext/Resources/Public/Images/example.svg
}
Copied!