title: Using javascript to print images
body: <p>I would like to know if it's possible to use javascript to open a popup window containing an image, and at the same time have the print dialog show. Once someone clicks on print, the popup closes.</p>
  
  <p>Is this easily attainable?</p>