title: express.static() won't work to fetch images
body: <p>I am new at programming, sorry if the question is stupid. I could not find anything to help me online.</p>
  
  <p>On Angular, I have the URL of the image to fetch from the server side.
  If the URL is </p>
  
  <pre><code>http://localhost:3000/h.jpg
  </code></pre>
  
  <p>and I have </p>
  
  <pre><code>app.use(express.static('backend/adImages'));
  </code></pre>
  
  <p>everything works fine. 
  If I change the path to </p>
  
  <pre><code>http://localhost:3000/adImages/e.jpg
  </code></pre>
  
  <p>and the code to</p>
  
  <pre><code>app.use('/adImages', express.static('backend/adImages'));
  </code></pre>
  
  <p>I cannot visualize the image.</p>
  
  <p>my path is </p>
  
  <pre><code>C:\Users\PupoZz\Desktop\mean\personal\eTrex\backend\adImages
  </code></pre>
  
  <p>is my path. The server.js file is in the eTrex folder</p>
  
  <p>another thing. If I run the server to show the database. I can click the link and open the image:</p>
  
  <pre><code>_id "5e80643f1bf2d90d685e3e66"
  title   "e"
  description "e"
  location    "e"
  postedBy    "null"
  image   "http://localhost:3000/adImages/e.jpg"
  __v 0
  </code></pre>
  
  <p>on my inspector I can see</p>
  
  <pre><code>"&lt;img _ngcontent-vlp-c2=\"\" class=\"card-img-top\" src=\"http://localhost:3000/adimages/e.jpg\" style=\"display: none !important;\"&gt;"
  </code></pre>
  
  <p>any idea?</p>
  
  <p>thanks
  Marco </p>