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.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group