Svg image with data protocol not shown in mobile

Hi, I’m using the image component to show images, with an url based on data protocol and base64 encoding (data:image/svg+xml;base64,…), example here: base64.txt (53.9 KB)

it shows good in the platform and when using the preview from browser, but not in app. Is it a bug?

Last I checked, SVGs are not yet supported here fully – or rather, you might have errors using them. If you’re importing custom icons and the like, it’s better to save a high-resolution PNG file instead and upload those. They do work properly.

I can confirm that using data:image/png works, while data:image/svg+xml doesn’t!

1 Like