Image disappears after notebook export to HTML
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2024 12:22 AM
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
- Labels:
-
Spark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2024 01:47 PM
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.

