Image cropper for both portrait and landscape views