title: How to get all the image sources on a particular Page using Javascript
body: <p>I am using a simple script to find an image on a page and get its source. </p>
  
  <pre><code>function img_find() {
      var img_find2 = document.getElementsByTagName("img")[0].src;
      return img_find;
  }
  </code></pre>
  
  <p>However when I go to write this function on my page it only finds the first image and then stops. What is the best way to have it print all of the image src's on the current page?
  Thanks!</p>