my requirement is just to get the coordinates through some callback function whenever user crop the image and click an ok button
All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.
09-01-2011, 10:23 AM
The question is: Do you really need to "physically" crop the image or do you just want to show a cropped part of the image without actually cropping it?
For the latter you can use a DIV with overflow:hidden and width/height of the visible cropped section and then position your image inside this DIV. I think the easiest way would be using a CSS background-image with background positioning.
09-02-2011, 12:16 AM
use the canvas tag's api, you don't need a server anymore...