add progress bar for image download