Error while loading picture when using a SVG file

What’s The Bug?

SVG file created from Draw.io imports and displays OK on Desktop. However file fails to display on Android

How To Reproduce It

  1. import attached SVG into a page on Desktop
  2. check it displays OK on Desktop
  3. Open page in Android
  4. Image fails to load.

Image or Video

TRRS-TRS.drawio.svg

The Expected Behavior

I expect the SVG to display on Android.

Device

Lenovo laptop/Moto G55 Android

OS

Mint / Android 15

Anytype Version

0.47.3/ 0.38.20

Network Mode

Anysync

Technical Information

OS version: linux x64 6.8.0-62-generic
App version: 0.47.3
Build number: build on 2025-06-18 08:30:11 +0000 UTC at #b39bb4b9d12a28b91a1d02b74382113bcff3e017
Library version: v0.41.1
Anytype Identity: A9oJuEdGxRjLpeo1t842hAq9R4vZVkLrLZiSDqLuGLgciis6
Analytics ID: aad2f16b-6555-4436-950c-5f437c57c936
Device ID: 12D3KooWMC5pSxCT8BNHnuui35xJHjZdQ9TnB6oj5AEtVb4eA7wZ
Ethereum Address: 0x03b19ADd4e9155b31B38ac3BD421cC856b733bBC

SVG file can be found here:-
SVG file

Duplicate of this?

It is similar, but different in that in my case the image fails to load at all (error while loading picture), whereas in the other case the image loads but the render is broken. Note also that an embedded SVG (mostly) loads and renders fine.

Can you try a different svg file, as well as trying other file / image formats?

Same result with a very simple SVG which can be found here and which looks like the below on Android.

Also not sure why there are the $$ signs around the embeds.

The draw.io exported as a png works fine.

Oh, my bad. I don’t know how I missed that this was about embeds. Currently, they are not supported on mobile, but I guess there’s still an issue with rendering.

This report has been added to our issue tracker and received by the Development Team.

Well embeds seem to mostly work on Android but that is not what this issue is about. It’s about ordinary SVG picture import. The screenshots which also include embeds are there for comparison because I only found the issue when comparing embeds with native SVG.

@Timboxy Could you please check if this still happens?

“Error while loading picture” Android 42.15 and no update available

This is a test space I imported the pics into:-

https://invite.any.coop/bafybeia3wnlqsdvwqjysjy3mlgooit5fqw35rzxagt3gj4s3rz6r76cugy#9hZBXeChyHSnhYEQPKrswdrCanPtt4AdGmx1JWUx5ToK

…and still present in 43.5. Why is this bug marked closed @Filip ?

I’ve already asked the Android team if they can reopen this issue. Could you please specify exactly which images are not working for you?

Specifically the 3 svg fies in the SVG import Issue page within the shared space I provided above for ease of access, the first of which is the circuit diagram also provided above in this thread and the second a simpler SVG. The third sample is from from another bug report of an associated issue which is only included in order to keep SVG issues together for my benefit.

The circuit diagram and simple SVG give an “Unsupported block– error loading picture” message and the other a very broken render. For the purposes of this bug report it is the circuit diagram picture and simple SVG leading to the "Unsupported block” error that is the issue.