6/18/2017
Tableau Resolution – Embedding URL Photos in Tableau Public
This publish affords an answer for embedding URL photos in Tableau Public. This previous week’s Makeover Monday featured a knowledge set of Paintings from the Tate Assortment. Various folks within the Tableau neighborhood tried linking the photographs from a public web site gallery to their Tableau Public visualization. These visualizations labored properly in Tableau Desktop, however when printed on Tableau Public they did not work accurately. When linking to a URL, Tableau Public requires the URL to be HTTPS, which wasn’t attainable with out downloading and internet hosting the entire photos.
Here is the tweet that began all of it.
So how can we remedy this? I first tried an answer that I created for embedding maps in Tableau. This mapping answer includes embedding the map in an iframe through the use of a placeholder URL that’s hosted on my web site. Sadly, this answer will not work for photos. Nevertheless, the answer for that is simply as easy. It takes simply two strains of JavaScript code.
The 2 strains of code if you wish to host by yourself webpage:
In case you don »t wish to trouble with HTML programming and simply need a easy answer, then you’re welcome to make use of my hosted web page under. I initially Tweeted a URL with the phrase « iframe3 » in it, however the answer truly does not use an iframe so it is poorly named. I’ll preserve the unique webpage up since folks have already used it of their work. Here’s a new URL you’ll be able to bookmark for future photos.
Merely add this hyperlink in entrance of the Picture URL in Tableau and you ought to be all set.
http://www.dataplusscience.com/picture.html?url=
If the URL is in your information set and a part of a Dashboard Motion, then merely add the sphere to the top of the URL.
http://www.dataplusscience.com/picture.html?url=<URL Subject>
I hope you discover this info useful. When you’ve got any questions be happy to electronic mail me at Jeff@DataPlusScience.com
Jeffrey A. Shaffer
Comply with on Twitter @HighVizAbility