I found 开发者_开发知识库excellent jquery imageareaselect: http://odyniec.net/projects/imgareaselect/ which is used in wordpress.
Script works excellent except one thing.
For example when you have image with dimensions 1024x768 you set imageHeight (300) and imageWidth (400) and that works fine but problem is that you can't set cropper to round numbers.
For example you select 600x400 and what you get in selection innput's is 599x399.
Wordpress has patch for that in image-edit.js but I can't get it out to work.
Has anybody has solved that?
Thank's
I haven't used that plugin before, but I have used jCrop before without the issue that you describe. http://deepliquid.com/content/Jcrop.html
精彩评论