知識庫

Images Are Not Displayed After Assigning Image Roles to URLs


發佈時間 : 24 Jan 2023
上次修改日期 : 24 Jan 2023

問題

Images are not displayed in a Viz after assigning image roles to URLs.

環境

  • Tableau Desktop 2022.4.0

解決方法

The image is not displayed when assinging the image roles (new feature added in Tableau Desktop 2022.4) in the Viz.

Image role feaure only accepts URLs. The alternative to using the image role feature is to use the embedded image/viz in the tooltip.
Below is an example to display an image in the tooltip of a cross-tab.
User-added image

1. Prepare the image files.
2. Copy the image files to a new folder in the My Tableau Repository\Shapes folder in your Documents folder. The name of the folder will be used as the name of the palette in Tableau. In the example below, Custom folder is newly created.
 User-added image
3. Launch Tableau Desktop and create a viz to display in tooltip as Shape. Name the sheet as Viz in Tooltip. Hide unnecessary headers as you need.
 User-added image
4. Create a cross-tab and insert a Viz in Tooltip sheet to Tooltip.
 User-added image

原因

The URL/path to the image file is not complete and missing file extensions like .jpeg, png, etc.
e.g. https://img.example.com/flats.png

​​​​​​​
這篇文章是否解決了問題?