Image viewer with zoom and pan using Canvas (improved) Example
Image viewer with zoom and pan using Canvas (improved)
Back to Tutorial
Zoom level:
1
(Zoom uses cursor position, not image or canvas center)
Click and move mouse to pan, use mouse wheel to zoom