How can I embed image to the cell using markdown or code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2018 11:07 AM
I have been trying to embed the image from the dbfs location, when I run the code, the image is unknown or question mark.
I have tried following code:
The path of the file is dbfs:/FileStore/tables/svm.jpg
displayHTML("<img src ='dbfs:/FileStore/tables/svm.jpg'>")displayHTML("<img src ='/FileStore/tables/svm.jpg'>")
- Labels:
-
DBFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2018 10:39 PM
@Yosep Wijaya
When you write the image to DBFS, you should write it to /FileStore/svm.jpg
When you reference the file in html, it should be via /files/svm.jpg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2020 01:26 AM
@jason Thanks!! than
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2019 08:33 AM
capture.pngAdd files before the path
Use this format to add the file

please check this https://docs.databricks.com/data/filestore.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2023 07:16 AM
Is there a way to embed an image from mounted storage into my markdown cell? Or can this only be done using the dbfs files?

