added zoomInImage function