However, the final stage of my current job would be to put those bubble in **overlay above some other existing png/jpg image from internet, calling an <image> svg function like. The aim is to display data (number) in overlay of a country map for example.
But the called external image from internet wont show up. I’m absolutely no expert with SVG coding, may be I miss something or forget some references to add in the <svg> to be able to call external image with a web link ?
Hi @Quentin_Morel - I looked into this a bit when working on Packs, and for security reasons we don’t support loading external content in SVGs. One potential workaround you could explore, which is a bit like Inception, is for the inner PNGhref to itself be a data URI:
Hi @Eric_Koleda and thanks for this answer!
Yesterday I did never code anything in svg, then I’m quite young in this subject.
Would you explain how you pass from an given image (even if I have to upload it in my doc as “local image” to your complex <image> data ?
OK, i figured out how to convert simple image to base64. Coda burns if the base64 is too long that’s kinda sad, and then its an obligation to have very poor background.
Anyway, start to be fun
Ya, this use of SVG is certainly pushing the boundaries of what Coda will allow. Another approach you might consider is using @Paul_Danyliuk’s Edit Images Pack, which should allow for more robust overlays: