I'd like to place an image in my titlePanel
. After reading through this SO post, I put my image in a www
folder and wrote this:
library(shiny)
ui <- fluidPage(
titlePanel(title=div(img(src="nhl.jpg")))
)
server <- function(input, output, session){
}
shinyApp(ui, server)
I'm not sure what I did wrong, since it looks like a pretty simple task, but I get a Question Mark icon instead of the NHL logo