only show progress bar when uploading images