title: How to display image in an infoBox in shiny App?
body: <p>I am trying to put an image inside the <code>infoBox</code> of a shinyApp.</p>
  
  <p>I am getting this error:</p>
  
  <blockquote>
    <p>Error in shinyUI(dashboardPage, dashboardHeader("ABC"),
    dashboardBody(fluidPage(h1("type"),  :    unused arguments
    (dashboardHeader("ABC"), dashboardBody(fluidPage(h1("type"),
    mainPanel(tabsetPanel(tabPanel(h1("summary"), infoBox("BCD", a,
    div(img(src = "ribbon.PNG", width = 100), style = "text-align:
    center;"))))))))</p>
  </blockquote>
  
  <p>Code:</p>
  
  <pre><code>library(shiny)
  library(shinydashboard)
  a  = 45
  ui &lt; - shinyUI(dashboardPage,
             dashboardHeader("ABC"),
             dashboardBody(fluidPage(h1("type"),
               mainPanel(
                 tabsetPanel(
                   tabPanel(h1("summary"), 
                           infoBox("BCD", a, div(img(src = "ribbon.PNG", 
                           width = 100), style = "text-align: center;"))))))))
  server &lt;- shinyServer({})
  shinyApp(ui, server)
  </code></pre>
  
  <p>Can anyone help me on this?</p>