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