cache the download image to DB