资 源 简 介
About
Imagetool is a simple plugin for jQuery providing basic panning and zooming capabilities for images.
It works by wrapping the selected image in a (the viewport) and manipulates css properties based on user input.
Try the demo
Usage
$("img").imagetool(options);
Options
name type required default description
allowZoom boolean no true If true, the image is zoomable.
allowPan boolean no true If true, the image can be panned.
maxWidth number no <