image cropping done on events