adjust image cropping so that images are cropped nicely for preview
merged