Use bokeh dinamic graph inside a webpage with a common template

Hi all,

I have template (HTML, CSS and images), where I want to insert a bokeh figure with some controls. I loaded parts of the template as divs in the bokeh server but it does no load the images.

The example code is:

header = Div(text=open(join(dirname(file), “…/…/template/header.html”)).read(), width=800)

footer = Div(text=open(join(dirname(file), “…/…/template/footer.html”)).read(), width=800)

x = [1, 2, 3, 4, 5]

y = [6, 7, 2, 4, 5]

p = figure(plot_height=600, plot_width=700, title="", toolbar_location=None)

p.line(x, y, legend=“Temp.”, line_width=2)

sizing_mode = ‘fixed’ # ‘scale_width’ also looks nice with this example

l = layout([




], sizing_mode=sizing_mode)


with the header being only:

Header example

nevertheless, it does not show the image. How can I fix it?