PDA

View Full Version : client side image cropping & integration with javascript libs



roberto35
9 Sep 2011, 4:12 AM
Hello,

I'm stuck with image cropping on client side, i use the
imgAreaSelect lib ( http://odyniec.net/projects/imgareaselect/ ) but i can change since i can't integrate it.

I have an upload widget which upload the file to a preview servlet, when the file has been uploaded the client is downloading the preview image from the servlet and render it in a "Image" widget.

What i want is, when the preview image has been downloaded on client side, to have the javascript imgareaselect activated on it.

Thanks for help.