6

I'm trying to include inline SVG images into a post but I can't figure out how to make it work.

Tried it out in the sandbox, and it looks like data URI doesn't work with PNG either.

This is what I tried so far:

<img src="data:image/png;base64,[Base64-encoded data]" />
<img src="data:image/svg+xml;utf-8,[URI-encoded data]" />
<img src="data:image/svg+xml;base64,[Base64-encoded data]" />

I think I saw some post before saying that embedding SVG works by writing <img> tag manually, but it's probably not about using the data URI. Also I can't find any documentation that says data URIs are allowed/banned/filtered out/whatever. I need it to work around the corporate firewall blocking all file uploads (including all types of images, and even putting the data URI into the image upload dialog doesn't work).

2

1 Answer 1

10

This workaround is successful:

<img width="16" height="16" alt="star" src="data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7" />

To display the image hit the [Run Code Snippet] button.


Now for your example image:

<img width="48" height="48" alt="png_Bubbler" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAB3RJTUUH4gQPBSMwpAAjmQAAFwtJREFUaN59mmmMpcd1np9TVd92996X6e7p2bkON5HUQlKU5EiGLAlQJMNCLMdwAtsIIiROLCD/g6xCDMcwstigpUBxYsMWaQVSYlFLLHHMiBR3DkcccrbuWXqmt9t91+9+S1Xlx23SkgOngO/nBc45dc573veta37re//Hi0C+3WPt7ZSTD83Q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vg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 187.083 67.977'%3E%3Cdefs%3E%3Cstyle%3E .a, .b, .c %7B fill: %23eda921; %7D .a, .b %7B stroke: %23000; stroke-miterlimit: 10; %7D .a %7B stroke-width: 9.122px; %7D .b %7B stroke-width: 9.122px; %7D .d %7B fill: %23005a9c; %7D %3C/style%3E%3C/defs%3E%3Ctitle%3ESVGlogo%3C/title%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cpath class='a' d='M13.745,30.137a5.38,5.38,0,1,0,0,7.608H54.137a5.38,5.38,0,1,0,0-7.608Z'/%3E%3Cpath class='b' d='M22.351,16.971a5.381,5.381,0,1,0-5.38,5.38L45.532,50.912a5.38,5.38,0,1,0,5.38-5.38Z'/%3E%3Cpath class='a' d='M37.745,13.745a5.38,5.38,0,1,0-7.608,0V54.137a5.38,5.38,0,1,0,7.608,0Z'/%3E%3Cpath class='b' d='M50.912,22.351a5.381,5.381,0,1,0-5.38-5.38L16.971,45.532a5.38,5.38,0,1,0,5.38,5.38Z'/%3E%3C/g%3E%3Cg%3E%3Cpath class='c' d='M13.745,30.137a5.38,5.38,0,1,0,0,7.608H54.137a5.38,5.38,0,1,0,0-7.608Z'/%3E%3Cpath class='c' d='M22.351,16.971a5.381,5.381,0,1,0-5.38,5.38L45.532,50.912a5.38,5.38,0,1,0,5.38-5.38Z'/%3E%3Cpath class='c' d='M37.745,13.745a5.38,5.38,0,1,0-7.608,0V54.137a5.38,5.38,0,1,0,7.608,0Z'/%3E%3Cpath class='c' d='M50.912,22.351a5.381,5.381,0,1,0-5.38-5.38L16.971,45.532a5.38,5.38,0,1,0,5.38,5.38Z'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cpath class='d' d='M74.062,34.166a19.8,19.8,0,1,1,33.8-14h-11.6A8.2,8.2,0,1,0,82.257,25.96h0c1.485,1.49,2.722,1.921,5.8,2.409h0c5.471.569,10.419,2.219,14,5.8h0a19.8,19.8,0,1,1-33.8,14h11.6a8.2,8.2,0,1,0,14.009-5.792h-.006c-1.485-1.485-3.615-2-5.8-2.4v-.006c-5.3-.813-10.415-2.218-14-5.8Z'/%3E%3Cpath class='d' d='M147.469.367,133.462,67.976h-11.6l-14-67.609h11.6l8.208,39.6,8.2-39.6Z'/%3E%3Cpath class='d' d='M167.276,28.369h19.8v19.8h.006a19.8,19.8,0,1,1-39.607,0h0v-28h-.006a19.8,19.8,0,0,1,39.607,0h-11.6a8.2,8.2,0,1,0-16.4,0v28h0a8.2,8.2,0,0,0,16.4,0v-8.2h-8.2V28.369Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A" />

Bubbler, you can hit the "Edit" link to see the trick; which may not work on all our sites.


"I need it to work around the corporate firewall blocking all file uploads (including all types of images, and even putting the data URI into the image upload dialog doesn't work).".

In case it wasn't obvious, once you've successfully transferred your image past the firewall you can right click on it and copy it (it only worked with the Chrome browser (for me), Firefox didn't work).

Now you can choose to upload an image, and paste the image; providing this result from your two examples:

enter image description here

enter image description here

As you can see, the .SVG file probably doesn't produce the desired result; so stick with .jpg or .png files.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .