title: Express Cannot GET /images
body: <p>I'm using Express and for some reason, when using JavaScript I can access images but whenever I try and directly implement the image route to the src such as </p>
  
  <pre><code>&lt;img src="images/background.png"&gt;
  </code></pre>
  
  <p>The localhost determines that it is unable to get the image. </p>
  
  <p>I'm pointing a static to a <code>/public</code> route in the <code>server.js</code> file which is why it is baffling me as to why it can receive some images but not all?</p>
  
  <p>This is my current line that determines the public route.</p>
  
  <pre><code>app.use(express.static('public'));
  </code></pre>