Hi,
I would like t know if there is a method or a widget to display Images that would accept .SVG format?
At the moment (as far as I know), the default ExB Image Widget only accepts ONG, BMP, JPEG formats.
Has anyone done an image widget for SVG files?
Solved! Go to Solution.
Due to the security facts (XSS vulnerability & lack of sanitization for SVGs), we have removed the support for SVG (& SVGZ) files since AGO 8.4/Enterprise 10.9/Dev 1.3. Thus, there is no way you could use the OOTB ExB functions with SVG uploads now.
Due to the security facts (XSS vulnerability & lack of sanitization for SVGs), we have removed the support for SVG (& SVGZ) files since AGO 8.4/Enterprise 10.9/Dev 1.3. Thus, there is no way you could use the OOTB ExB functions with SVG uploads now.
OK so in theory, I could create my own SVGImage Widget by
1. Cloning your \client\dist\widgets\common\image\
2. adding a new setting called "svg_data"
.. or is it easier to just upload the .svg somewhere public , and use the <embed> widget 🙂
The Embed widget allows you to embed by Code, not just by URL. Simply paste your <svg>...</svg> code there.