cropped photo images so that the image ratio won't change.