Add generic case for downloading an image

Change-Id: I648491590244b09083b018dcc724a6f687135541