title: show image in a new window
body: <p>I am currently trying to open an image in a new window by clicking on it. But i cant seem to figure out where my code is wrong. Any solution?</p>
  
  <pre><code>function largePic(){
  
  var imageNumber = document.getElementById("img2");
  imageNumber = this.getAttribute('src').split(".", 1);
  window.open(imageNumber[0] + "zlatan-stor.jpg");
  
  }
  </code></pre>