☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

How to creat a customer widget with local image

Community Support
yolanda_chen
yolanda_chen

I need a widget with
expendable checkbox as I hope to show a company organization tree for
selection. Bokeh seem do not have this kind of widgets, I need to extend
current checkbox. The organization child nodes is asked to can be extended and
combine. This need to add an image on my customer widget.

I can import the image on a specific
project folder, but I don’t know how to make my customer widget more general.
Currently, the image is put a project folder like:

server_folder/

+main.py

+customer_widget.ts (add an image with url: server_folder/static/image.png)

+customer_widget.py

+static/

     +image.png

The project is started as:

bokeh serve server_folder --show

How to make the customer_widget.ts,
customer_widget.py and image.png together and do not need to include the project
name on the image url? Thanks!

Regards,

Yolanda.
⌁   Link to post

End of archived discussion · Replies are disabled