title: jQuery onclick all images in body
body: <p>English isnt my native language so bear with me.</p>
  
  <p>Im trying to make it so that when a user clicks any image on my site a gallery sort of div will become visible containing the image at its fullest size.</p>
  
  <p>The way I've done now is;</p>
  
  <pre><code>    var image = $("body &gt; image");
  
  
  image.on('click', function(){
      var imageURL = $(this).attr('src');
      backgroundCurtain.css({"display": "block"});
      imageResized.attr("src", imageURL);
      var imageWidth = imageResized.width();
      pictureInner.css({"width" : imageWidth});
  }); 
  </code></pre>
  
  <p>This isn't working and to be honest I wasn't expecting it to work. How do I call it so that every image element inside body. How do I "call" every image inside body?</p>