Scale the image so the upload will not take too many time...