I have an image dataset in a Volume in the Unity Catalog.
As part of exploratory analysis, I want to run some queries and display the resulting image set.
Yet, including dynamic references to images in the Catalog doesn't seem to work on a Databricks Notebook.
This works (and the HTML version as well)

Yet, if the reference path to the image is dynamic, it doesn't work. For example:
image_path="/Volumes/catalog/schema/path/img.png"
txt_html = f"""img is at:{image_path}"""
displayHTML(txt_html) # Sanity check - OK!
img_html = f"""img src="{image_path}" width="400px"""" # Add the missing braces -- the forum editor doesn't like HTML
displayHTML(img_html) # Doesn't work
How can I dynamically display images from the catalog?
PS: Your post has been changed because invalid HTML was found in the message body. The invalid HTML has been removed. Please review the message and submit the message when you are satisfied.
-=> This deleted my complete post and I had to start over again X3 😞