jQuery Image Crop Plugin: Jcrop
10
Sep
// php the_time('Y') ?>
For the last weeks, several JavaScript image crop resources are published at WebResourcesDepot. This is because, the increase in use of such interfaces as image-based applications are on the rise & many web applications offer their users to edit their avatars besides only uploading them. So, you may need one of them : ) .
Jcrop is a cross-browser jQuery image crop plugin.
Some features of Jcrop:
- Attaches simply to any image in your HTML page
- Supports aspect ratio locking
- Callbacks for selection done, or while moving
- Keyboard support for nudging selection
- Support for CSS styling
- Advanced API including animation support
An example of this plugin here & a sample PHP code to complete the server-side of the crop here.
P.S. Thanks to Kelly for the suggestion.
Requirements: jQuery
Compatibility: All Major Browsers
Website: http://deepliquid.com/content/Jcrop.html
Demo: http://deepliquid.com/content/Jcrop_Examples.html
Compatibility: All Major Browsers
Website: http://deepliquid.com/content/Jcrop.html
Demo: http://deepliquid.com/content/Jcrop_Examples.html
- Tags:
Javascript Php
- Filed under: Browsing, Goodies, MIT License
- 10 Comments





















10 Responses for "jQuery Image Crop Plugin: Jcrop"
[...] jQuery Image Crop Plugin: Jcrop [...]
Yeah this one is good, already seen one jQuery code with similar feature, but plugin is little better.
using jcrop for asp.net component. Visit to:
http://bloq.cenq.net/aspnet-image-croper-component.html
Hi
This is very cool and rich of functionality, can we integrate this with Java.
Please suggest.
@rocks: no, it will not integrate with java as java unless java has some sort of markup/JS rendering engine that can be embedded.
In a JAVA environment, you would just build your own controls. It’s silly to even think JS could be used in a JAVA application.
@rocks: I believe it can be integrated with JSPs, if that’s what you’re asking. Just handle the image manipulation on the Java side once you get the coordinates from jCrop.
This article is using jcrop for asp.net (component).
http://www.omerfarukzorlu.com/post/ASPNET-Image-Croper-Component-with-JCrop.aspx
Hey just wanted to say thank you for the plugin. I replaced an older prototype plugin with this and it is working great!
Am trying to implement this inside an iFrame and it works just fine, wiht the following exception:
There is a really ugly and thick black border around the iFrame. I tried adjusting the size of the iFrame, but the black border around the iFrame prevails. The styling for the iFrame conatins no margins, borders, or padding? Does anyone know how to fix this?
Thanks,
SId
@bham
What do you mean by It’s silly to even think JS could be used in a JAVA application?