title: How to read in all the images in a file and output them as image form on the website?
body: <p>So in my folder (x), there is the HTML file and another folder (y) for my images. I want to read in all images in folder y and output them as <code>&lt;img&gt;</code> form on my HTML page. I've looked up php and javascript, trying to make them work, but haven't had good luck. Can someone help me out? </p>
  
  <p>Assume all images in folder y are in .jpg form. </p>