Added rest call for downloadImage