title: express.js how show image?
body: <p>I have images in /public folder and I want to show them..simply like this: <code>&lt;img src="a.jpg"&gt;</code></p>
  
  <p>My app.js code</p>
  
  <pre><code>var express = require('express')
    , app = express()
    , http = require('http')
    , server = http.createServer(app)
    , io = require('socket.io').listen(server);
  
  server.listen(8080);    
  app.use('/public', express.static(__dirname + "/public"));
  </code></pre>
  
  <p>If I open it in localhost this error is still showing</p>
  
  <pre><code>NetworkError: 404 Not Found - http://localhost:8080/public/a.jpg"
  </code></pre>