Add image using markdown tile to dashboard

How to add an Image (that is not hosted on any website) and use it in dashboard of Looker.

Solved Solved
0 2 343
2 ACCEPTED SOLUTIONS

If you are asking about Looker (rather than Studio) the thing to bear in mind is that the image needs to be accessible from the user's browser. This is why it works if the image is hosted on a public website, the browser can just access the image and include it in the dashboard. If you can host the image not on the public internet but somewhere that all your users have access - for example in Google Drive - you can put the link to the file in drive in Markdown and it should work. There is some discussion here on Stack Overflow about how you might link to an image in your Google Drive, and I'm sure there must be similar approaches for an MSFT environment or whatever you are using.

View solution in original post

Thanks @GavinW ,

Found another way, Convert the image it to Base64 code using websites like Base64 Image Encoder or any other. In Looker, replace the [Base64] part with the Base64 code of your image in the Markdown body. Remember to adjust the width and height attributes as needed.

`<img src="[Base64]" width="1000" height="300">`

Should be something like the code below.

`<img src="data&colon;image/png;base64,iVBORw0KG…" width="1000" height="300">`

View solution in original post

2 REPLIES 2
Top Labels in this Space
Top Solution Authors