added progressbar for image upload progress