resizes the images before those are uploaded
Merged in feature/upload_image (pull request #4)

resizes the images before those are uploaded