Display Html from dbfs files

seboz123
New Contributor II

Hi,

I want to display some content from dbfs inside my notebook. Let's say I have a image under: /dbfs/mnt/test-bucket/test-custom/sample.png

I want to embed that into my Notebook Html Output like this:

displayHTML("""<img src ='/dbfs/mnt/test-bucket/test-custom/sample.png'>""")

But the image does not show up. In the browser console, I see a Error 401 with access denied?

Any help is appreciated.