R Shiny img() on UI side does not render the image
<p>I have a static image in the local folder I am trying to render in the Shiny UI and it does not work. Shows a broken image with a question mark in the middle.</p>

<pre><code>ui &lt;- fluidPage(img(src = 'imagefile.png', height = '100px', width = '100px'))
server &lt;- function(input, output) {}
shinyApp(ui = ui, server = server)
</code></pre>

<p>Any idea what is going on?</p>