Simple jQuery Image Crop and Zoom Plugin - ZoomCrop

File Size: 140 KB
Views Total: 4648
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
Simple jQuery Image Crop and Zoom Plugin - ZoomCrop

ZoomCrop is a tiny jQuery & jQuery UI based crop utility which allows you to zoom, pan and crop an image with ease.

How to use it:

1. Include the jQuery and jQuery UI in the document.

<link rel="stylesheet" href="//" />	
<script src="//"></script>
<script src="//"></script>

2. Include the jQuery ZoomCrop plugin after jQuery library.

<link rel="stylesheet" href="jquery.zoomcrop.css">
<script src="jquery.zoomcrop.js"></script>

3. Create a container for the image cropper.

<div id="cropper"></div>

4. Initialize the plugin and set the image you wish to crop.

initialZoom : 0.0,
image : 'crop.jpg',
realWidth : 0,
updated : function(size, crop, position){}

This awesome jQuery plugin is developed by SwampyFoot. For more Advanced Usages, please check the demo page or visit the official website.