Video | Tableau | Data visualisation | Tool strategy

Dynamic image resizing in Tableau using Cloudinary

Images are a right pain to work with in Tableau, so let me blow your mind with a tool called Cloudinary.

Part ofTableau quick tips
  • Cloudinary lets you transform images on request by appending parameters to a URL, handling resizing, cropping, watermarks, face detection and background removal without pre-processing every asset
  • In Tableau you can use a 'go to URL' dashboard action to pass a dynamically built image URL into a web object, changing the displayed image when you click a mark
  • Use the data model and relationships rather than physical joins, since relationships only bring data together at query level and reduce computational load
  • You can build the image URL with a calculated field by splitting it into the base URL, the 'upload' transformation segment and the file path, then injecting parameters like a 300x300 resize
  • Cloudinary's free tier offers 25 monthly credits (1,000 transformations each), making it viable for tactical or small-scale dashboard deployments, while the API scales for larger embedded solutions

Working with images in tableau can be a bit frustrating. one of the frustrating parts of the workflow is getting images sized to fit the web object pane if you’re loading them from the internet. In this video, I combine the capability of the image hosting service Cloudinary with the capability of a Tableau to allow you to change the size of an image being loaded dynamically through a calculation without having to first render the image or create duplicate versions.

0:00 Introduction 0:22 Getting setup 2:52 The dashboard setup 5:32 How Cloudinary works 8:30 Adding dynamic URLs to your dashboard 14:47 Transformations Cloudinary can do with URLs 16:44 Costs 18:59 Conclusions ‍