<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Displaying images hosted in a Unity Catalog volume in a notebook in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/displaying-images-hosted-in-a-unity-catalog-volume-in-a-notebook/m-p/120418#M46161</link>
    <description>&lt;P&gt;Unity Catalog currently does not fully support displaying image metadata dynamically in notebooks and may trigger errors such as &lt;CODE&gt;[UC_COMMAND_NOT_SUPPORTED.WITHOUT_RECOMMENDATION]&lt;/CODE&gt;&lt;/P&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;Suggested workaround:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Consider exporting the images from Unity Catalog to a directory accessible within the cluster (like DBFS) and use dynamic paths to reference images stored directly in DBFS instead. DBFS integration might bypass Unity Catalog limitations for unstructured data.&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Wed, 28 May 2025 12:34:30 GMT</pubDate>
    <dc:creator>Walter_C</dc:creator>
    <dc:date>2025-05-28T12:34:30Z</dc:date>
    <item>
      <title>Displaying images hosted in a Unity Catalog volume in a notebook</title>
      <link>https://community.databricks.com/t5/data-engineering/displaying-images-hosted-in-a-unity-catalog-volume-in-a-notebook/m-p/120408#M46155</link>
      <description>&lt;P&gt;I have an image dataset in a Volume in the Unity Catalog.&lt;BR /&gt;As part of exploratory analysis, I want to run some queries and display the resulting image set.&lt;/P&gt;&lt;P&gt;Yet, including dynamic references to images in the Catalog doesn't seem to work on a Databricks Notebook.&lt;BR /&gt;This works (and the HTML version as well)&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;![](/Volumes/catalog/schema/path/img.png)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Yet, if the reference path to the image is dynamic, it doesn't work. For example:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;image_path="/Volumes/catalog/schema/path/img.png"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;txt_html = f"""img is at:{image_path}"""&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;displayHTML(txt_html) # Sanity check - OK!&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;img_html = f"""img src="{image_path}" width="400px"""" # Add the missing braces -- the forum editor doesn't like HTML&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;displayHTML(img_html) # Doesn't work&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How can I dynamically display images from the catalog?&lt;/P&gt;&lt;P&gt;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.&lt;BR /&gt;-=&amp;gt; This deleted my complete post and I had to start over again X3 &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 10:38:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/displaying-images-hosted-in-a-unity-catalog-volume-in-a-notebook/m-p/120408#M46155</guid>
      <dc:creator>maasg</dc:creator>
      <dc:date>2025-05-28T10:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying images hosted in a Unity Catalog volume in a notebook</title>
      <link>https://community.databricks.com/t5/data-engineering/displaying-images-hosted-in-a-unity-catalog-volume-in-a-notebook/m-p/120418#M46161</link>
      <description>&lt;P&gt;Unity Catalog currently does not fully support displaying image metadata dynamically in notebooks and may trigger errors such as &lt;CODE&gt;[UC_COMMAND_NOT_SUPPORTED.WITHOUT_RECOMMENDATION]&lt;/CODE&gt;&lt;/P&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;Suggested workaround:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Consider exporting the images from Unity Catalog to a directory accessible within the cluster (like DBFS) and use dynamic paths to reference images stored directly in DBFS instead. DBFS integration might bypass Unity Catalog limitations for unstructured data.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 28 May 2025 12:34:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/displaying-images-hosted-in-a-unity-catalog-volume-in-a-notebook/m-p/120418#M46161</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2025-05-28T12:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying images hosted in a Unity Catalog volume in a notebook</title>
      <link>https://community.databricks.com/t5/data-engineering/displaying-images-hosted-in-a-unity-catalog-volume-in-a-notebook/m-p/120530#M46187</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/88823"&gt;@Walter_C&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your suggestion. Exporting the images (=&amp;gt; duplicating the storage) is a no-go in our case. We are talking about very large automotive datasets.&lt;BR /&gt;Is there another option or should we consider moving this data out of the catalog? We also face limitations from&amp;nbsp; the Delta sharing client perspective to access this data from the ML pipeline.&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 11:59:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/displaying-images-hosted-in-a-unity-catalog-volume-in-a-notebook/m-p/120530#M46187</guid>
      <dc:creator>maasg</dc:creator>
      <dc:date>2025-05-29T11:59:59Z</dc:date>
    </item>
  </channel>
</rss>

