Add progress bar for image uploads

The problem with the previous image uploader is that no feedback is given when the image is uploading. A progress bar would fix the problem.