Added cropping functionality in image edit