My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Links

Resize & Crop

Handy jQuery plugin for uniform resizing & cropping. Ideal for avatars and images with concrete size. See examples to get better understanding what Resize & Crop can do for you.


Example how Resize & Crop works:


Code example:

<script src="js/jquery.resizecrop.js"></script>
<script type="text/javascript">  
  $().ready(function() {  
    $('img').cropresize({
      width:40,
      height:60,
      vertical:"top"
    });  
  });  
</script>

Note:

If the image looks awful in IE6-7 try to use this little CSS snippet for better Bicubic Scaling:

.cropresize img { -ms-interpolation-mode: bicubic; }
Powered by Google Project Hosting