add download image support