title: How can I display an image from the local machine on a webpage
body: <p>Here's the scenario: I have two machines on a LAN network. One of them is acting as a web server. When the second, client machine browser (Firefox) makes a request from the server, it sends the following html</p>
  
  <pre><code>&lt;!DOCTYPE HTML&gt;
  &lt;html&gt;
  &lt;body&gt;
  &lt;img src="C:\Users\General\Desktop\map1.jpg" align="middle"&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The image however is not displayed. I have tried the following variations to the img tag:</p>
  
  <pre><code>&lt;img src="C:/Users/General/Desktop/map1.jpg" align="middle"&gt;
  &lt;img src="file:///C:/Users/General/Desktop/map1.jpg" align="middle"&gt;
  &lt;img src="http://localhost//file:/C:/Users/General/Desktop/map1.jpg" align="middle"&gt;
  </code></pre>
  
  <p>Funny thing is if I view the page source and save the html content to a local file and open it in the browser it works. The exact same html code does not work when fetched from the server, but works when opened on the local machine.</p>
  
  <p>Please note that I'm trying to load the image off the client machine because it is impossible to store an image on the server machine in my scenario. (The server is actually an Arduino Mega without an SD card)</p>