display of an image with cropping option