WebViewer not showing embedded img tags

I’ve got a WebViewer that loads a local/uploaded HTML file and inside that HTML file are some img src=… tags:

< img src=‘info-1.png’ >More Information< / a >

But those images are not displaying. In ‘Thunkable Classic’, this worked fine … was there a change? do I need to reference /mnt/sdcard/etc…?

Any ideas what’s going wrong or how to get those image-links to display?

I tried to use its resource files in the application, but none of the options worked. I think until it’s possible.

Alternatively, you can encode the image into the BASE64 format and paste it onto the html page.

<img src="data:image/gif;base64, R0lGODlhEAAOALMAAOazToeHh0tLS/7LZv/0jvb29t/f3//Ub//ge 8WSLf/rhf/3kdbW1mxsbP//mf///yH5BAAAAAAALAAAAAAQAA4AAARe8L1Ekyky67QZ1h LnjM5UUde0ECwLJoExKcppV0aCcGCmTIHEIUEqjgaORCMxIC6e0CcguWw6aFjsVMkkIr7g 77ZKPJjPZqIyd7sJAgVGoEGv2xsBxqNgYPj/gAwXEQA7">

1 Like

Amazing solution!

1 Like