How about using Image Object instead of Webpage Object?
Sorry don't know much about image object and based on a quick google of tableau image objects it looks like these are static images stored in your image repository Yes???
The problem I have is that I am presenting hundreds of data points to a client on a map. The images are all in a folder and have a unique name associated with the data point. I've created a field in the database which concatenates the filepath and the datapoint name. When you hover each data point the associated image is shown in the url window.
Can you do this with an image object?
Hi Vinesh, one idea is to run a local web server to host images on your own machine or network rather than on the internet. You can run a lightweight http server on the same machine (e.g., if you're running Tableau Desktop) or anywhere on your local network using the server of your choice.
You can google for lightweight web servers, here's one article: http - Best lightweight web server (only static content) for windows - Stack Overflow
Thanks for the response.
Your suggestion is something that my more sophisticated clients could do but it is not an option for a school in the outback with limited internet connectivity.
At the heart of it your suggestion is a workaround for the bizarre, and in my opinion unjustified, decision to not allow the use of local image files by Tableau.
Vinesh, do you have a Tableau Account Rep that could help get this reversed (or some other workflow provided) ?
I can see what you mean, maybe your case is big enough to get the decision reversed.
Please let me know if you need help pushing this with Tableau (us Aussies have to stick together) Email me privately if required.
1 of 1 people found this helpful
I've got three workarounds, in order of what I suggest trying first:
1) If you are using Tableau Server to deliver the visualizations there's a way to allow file:// URLs, see View the full discussion for details. You'll need to configure vizqlserver.url_scheme_whitelist to allow file:// URLs as an option.
2) If you're not on Tableau Server and instead using Tableau package workbooks and Tableau Reader then it's possible to use a single worksheet with all of the images loaded as background images that only show up when a field has particular values. See http://www.tableau.com/learn/tutorials/on-demand/background-images for details. So your dashboard would have a filter action that targets the background image sheet and Tableau would load the appropriate image for the particular value. You'll need to make sure that every image has the exact same aspect ratio. This is a) a pain to set up because you have to manually load each background image and b) the image files take up space in the Tableau packaged workbook and if you have too many images it can be prohibitively large and c) every time you want to add an image you'll have to edit & republish the workbook.
3) If you're not on Tableau Server and instead using Tableau packaged workbooks and Tableau Reader *and* the images are small and don't need to be rendered in more than say 120x120 pixels you can use a worksheet that shows each image as a custom shape and use a Filter Action to filter for the particular image on the sheet. Loading the custom shapes can be easier (see Jewel Loree » Dealing with 718 Pokemon Shapes in Tableau for details). This is a) still a pain to set up, b) the image files take up space in the XML of the workbook and can make it slow to load, c) Tableau has internal scaling algorithms that will make the images look terrible if the image is too small and scaled up or vice versa, and d) every time you want to add an image you'll have to edit it and republish the workbook.
What Jonathan said. With one exception. Since 8.x Tableau has been improving the rendering of images as shapes. Now in 10.1 you can get pretty good looking image-shapes at as much as 400x400 pixels
Of course this assumes you start with a high quality, high resolution image. And you're viewing it on a high-ish resolution monitor. Also the image-shapes now hold together nicely when you scale them down:
These are png files with an alpha channel so they can be placed on any background. I've started using this technique more and more instead of background images, because they are more flexible, and easier to set up.
But of course take Jonathan's note to heart about size and speed of load.
Hi Vinesh, I understand your frustration. Unfortunately, in this day and age, security is a serious issue that drives many decisions. I agree with Chris about contacting Tableau to see if there's some way to revisit this.
We decided not to upgrade to the new version due to this.....