Trying to resize the picture on upload