cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Image disappears after notebook export to HTML

anh-le
New Contributor

Hi everyone,

I have an image saved at DBFS which I want to include in my notebook. I'm using the standard markdown syntax

![my image] (/files/my_image.png)

which works and the image shows. 

However, when I export the notebook to HTML, the image disappears. Swapping my image with a random internet image link produces the expected output. 

Does anyone know what's the issue?

Thanks

 

1 REPLY 1

Walter_C
Databricks Employee
Databricks Employee

The issue you're experiencing might be due to the fact that when you export your notebook to HTML, the image from DBFS isn't accessible in the same way as it is within the Databricks environment. The DBFS path isn't accessible from outside Databricks, which is why the image disappears in the exported HTML.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now