Fixed broken image downloads

Image downloads work now when user clicks on download icon