Hi there,
I am trying to have a static image in a shiny for python app.
The image is in the www folder.
Here a minimum code I am using: `
from shiny import App, ui
app_ui = (
ui.page_navbar(
ui.nav_spacer(),
ui.nav("Page 1",
ui.page_fluid(
ui.div(
ui.img(src="image.png", height="80px", alt="image logo")
),
)
),
ui.nav("Page 2",
ui.page_fluid(
ui.navset_pill_list(
ui.nav("a", "tab a content"),
ui.nav("b", "tab b content"),
)
)
),
ui.nav('Page 3', "prova2"),
title=ui.div(
ui.h4('prova')
),
id ="navbar_id",
bg="#ffffff",
footer=ui.p('footer')
))
def server(input, output, session):
pass
app = App(app_ui, server)`
However, the image is not found and not displayed (not even in the browser) as you can see from the attached screenshot. What am I missing? I tried in two different computers with Windows 11 installed if this might be relevant.
