title: Images not displaying on node.js presented webpage
body: <p>I have a node.js server with the following code:</p>
  
  <pre><code>var http = require('http'),
      fs = require('fs'),
      index = fs.readFileSync(__dirname + '/index.html');
  
  var app = http.createServer(function(req, res) {
      res.writeHead(200, {'Content-Type': 'text/html'});
      res.end(index);
  });
  
  app.listen(80);
  </code></pre>
  
  <p>When I use an  tag in index.html, no images will show:</p>
  
  <pre><code>&lt;html&gt;
      &lt;body&gt;
          &lt;img src="settings.gif" /&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The image is in the same directory as the server.js file and index.html</p>
  
  <p>Edit: Images will show if I use a full URL to another site. Example:</p>
  
  <p><code>&lt;img src="http://yellowicons.com/wp-content/uploads/Gear-Icon-2.png" /&gt;</code></p>