Crop images by panning and zooming