title: Issues with Displaying all images from specified Directory
body: <p>I'm trying to display all images from a specified directory.</p>
  
  <p>I have read many other questions about this, and I'm having one weird issue.</p>
  
  <p>Here is my code.</p>
  
  <pre><code>  $dirname = 'C:/Projects/RMS/RMS/assets/img/MYADDS/clientslogos/';
    $images = glob($dirname."*.*");
    foreach($images as $image) 
    {
      echo'&lt;img src="'.$image.'" /&gt;';
    }
  </code></pre>
  
  <p>Here is my result.</p>
  
  <pre><code>    &lt;img src="C:/Projects/RMS/RMS/assets/img/MYADDS/clientslogos/3m_logo.jpg" /&gt;
      &lt;img src="C:/Projects/RMS/RMS/assets/img/MYADDS/clientslogos/Bausch&amp;lomb.logo.jpg" /&gt;
  </code></pre>
  
  <p>That is the correct path, but they are not displaying. I get console errors for each image, Not allowed to load local resource: file:///C:/Projects/RMSICORP/RMSICORP/assets/img/MYADDS/clientslogos/3m_logo.jpg. This folder is in my project directory. I do this stuff all the time, I don't see what is wrong with this one.</p>
  
  <p>When I view in chrome dev tools and click the image link, it will open with this path:</p>
  
  <pre><code>http://localhost:63879/C:/Projects/RMS/RMS/assets/img/MYADDS/clientslogos/3m_logo.jpg
  </code></pre>
  
  <p>If I remove the <code>http://localhost:63879/</code> it displays the image.</p>
  
  <p>Any ideas why the direct path i.e. <code>&lt;img src="C:/Projects/RMS/RMS/assets/img/MYADDS/clientslogos/3m_logo.jpg" /&gt;</code> does not work?</p>