the way to get the size of the crop image