Ability to use ui.image
, ui.avatar
with local images
#1040
Labels
enhancement
New feature or request
Milestone
Currently you can only serve up an image that is publicly accessible, e.g.
i = ui.image("https://github.com/deephaven.png")
. If you try and serve up a local image to the container, you'll just get an error because the path will not be local to the client.We should be able to use a local image.
E.g. you should be able to specify:
i = ui.image('./plugins/ui/docs/_assets/text_filter_table.png')
and it should just magically work.Note there is a workaround currently by base64 encoding the image:
The text was updated successfully, but these errors were encountered: