Wednesday, June 22, 2016

How to Embed an Image Directly into your Tableau Workbook

Update:  It appears that the ability to embed an image this way was removed in Tableau Desktop v10.0+

Have you ever wanted to include an image in a Tableau dashboard without referencing a local file or hosting the image online?  The following will walk you through how to embed an image directly within a dashboard.  Doing this provides two benefits:
  • You can share a workbook without having to worry about including external image files
  • Images will appear in a workbook even if the user doesn’t have an active internet connection

At a high-level, we will Base64 encode an image and use that as a Web Page object URL within a dashboard.

Steps:
  1. Go to https://www.base64-image.de/
  2. Follow the site's instructions to Base64 encode the image
  3. Click on </> show code for the image
  4. Copy the code associated with "For use in <img> elements:"
  5. Add a Web Page object to your Tableau dashboard
  6. Paste the copied code into the URL field and click OK
  7. The image will now be displayed within the Web Page object

No comments:

Post a Comment