Added ability to download image. Closes issue #4.