Use mouse wheel to zoom an image and move the mouse to pan around. Just using vanilla javascript in 50 lines.