I want to display an image in an HTML ipywidget rendered in voila. This code works in jupyter notebooks:
import ipywidgets as widget
img = widget.HTML('<div id="img" style="float:left">'
'<img style="vertical-align:middle" src="static/test_image.jpg" alt="">'
'</div>')
img
But voila does not find the static file. It is displayed as a broken image.