implemented image_cropping