Select to view content in your preferred language

Ability to display a base64 encoded image in MapBrowser?

464
1
05-16-2024 02:15 PM
Labels (2)
AspenN
by
Regular Contributor

I have a feature class that has a thumbnail field containing base64 encoded strings representing images. I am attempting to add this into a popup in MapBrowser using the Arcade expression block (see below). I believe I have formatted the html tags correctly given that when I test the code, it returns a properly formatted html tag for this image that works when I add it to an html document. However, the popup just displays blank where the image should be. Is there support for base64 images in popups? If so, any ideas on how to get this to work?

 

Arcade Expression Block.png

 

1 Reply
TMEUNIER
New Contributor

Same problem here : a valid base64 jpg picture stored in a blob field displays nothing ... I have to convert it to a jpg file to refer it with the <img src="https://www.**unspecified**/**unspecified**.jpg" /> syntax

0 Kudos