How to Zoom or Pan an image on hover

How to Zoom or Pan an image on hover
Zoom or pan an image on mouseover with optional custom text overlay