A simple jQuery image cropping plugin.
Include files:
<script src="/path/to/jquery.js"></script><!-- jQuery is required -->
<link href="/path/to/image-crop.css" rel="stylesheet">
<script src="/path/to/image-crop.js"></script>
<div class="crop-main">
<div style="width: 600px; height: 300px;" class="crop-container">
<img src="test.JPG" class="crop-img">
</div>
</div>
$(".crop-main").imageCrop();
or
$('.crop-main').imageCrop({
offsetLeft: 20,
offsetRight: 30,
offsetTop: 20,
offsetBottom: 50
});