started download image functionality