Resize image before upload is done!