Added image cropping