I’m so excited to announce that we have published the Web Crop Image. Those who want to implement web based image cropping functionality on their websites/projects.
Please send us feedback and tell us how we can improve this control, you are also welcome to contribute this project as a developer.
Project CodePlex website : http://www.codeplex.com/webcropimage
Updated : 18 Jan 2009 added new features maxSize and minSize to allow you fix the selection.
Updated: 11 Nov 2009 The selection now maintains its state.
Changes:
- Namespace is now CS.Web.UI
- Control name is now CropImage
- Property CropImage name changed to Image
- You dont need to set CropImageButton property anymore. Just any buttons click event call the Crop function like following;
<CropImageControlID>.Crop(Server.Mapth(~”<directory>/<filename>”));
See samples;
http://samples.cemsisman.com/webcropimage/Sample1.aspx
http://samples.cemsisman.com/webcropimage/Ratiosample.aspx
http://samples.cemsisman.com/webcropimage/fixedsize.aspx
Please donate for further development support.





I want to have source code for Image Cropping
http://webcropimage.codeplex.com/SourceControl/ListDownloadableCommits.aspx
One thing that would be really helpful would be able to keep the cropped position on postback.
Every time the program posts, the crop square moves back to the upper right corner and resizes. Be nice for people to be able to crop, adjust, crop……
Thanks tho, we’ll be adding it to my project. Really going to help, and make me look pretty good.
chuck
When I use the script on a website I get GDI+ error. Is there a way to configure for hosted server?
Chuck Snyder: It now maintains its state. Please download the new version here;
http://webcropimage.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=28170
And please let me know if anything else that you thing might help. thanks for comments and feedbacks.
Cem
DJF: If you send me your source code, I can have a look to see what exactly the problem is.
email: cs@cemsisman.com
thanks.
Cem
[...] This post was mentioned on Twitter by Cem Sisman, Cengiz Han. Cengiz Han said: RT @cemsisman: just released a new version of Web Crop Image Asp.net Server Control http://bit.ly/J6Cs7 v3 #wci [...]
I have been using this and loving it, but am having issues with IE8, and am a bit confused about versions…
You mention that you have updates during January. But the source code tab in CodePlex doesn’t show any updates from then. Sorry for my possible ignorance, but am I missing some latest tweaks? And can you confirm if there is a version that will work in IE8?
Also, your demo isn’t working at the moment — perhaps you’re suffereing the same issue that I have when I upgrade to the “latest stable” version, I am getting the following stack:
[NullReferenceException: Object reference not set to an instance of an object.]
CS.Web.UI.CropImage.CreateChildControls() +1373
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +44
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
I have updated my code’s use of the control as follows:
Can you send me the files to cs@cemsisman.com then I can have a look.
Doesn’t seem to work in IE8. Am I missing something?
Any update on when you will be making a new version of your Crop Image control available, with JCrop 0.9.8 so as to fix the bug in IE8? : http://deepliquid.com/blog/archives/142
Thanks.
Actually, I’ve fixed it by replace jquery.jcrop.js with the latest version from here: http://deepliquid.com/content/Jcrop_Download.html
Thanks.
downloading and replacing the js file will fix it.
Ellerinize sağlık. Oldukça faydalı bir araç. Özellikle CMS yazılan siteler için…
Tesekkur ederim Oguz
After much perseverance, I have fixed my issue and have a working control!
My issue turned out to be because the control is being shown in a modal popup (using Ajax Control Toolkit), and I had to make a change to the way jCrop() is called so that it is done on mouseover of the crop image, rather than on document load (so changed CropImage.cs). I found this suggestion on the Deep Liquid Jcrop Google forum – there’s a few related/similar posts about it, the solution I used is Comment #7 at http://code.google.com/p/jcrop/issues/detail?id=16
Unfortunately this means that the crop handles wont show up until the user moves their mouse over the image, but it’s a semi-satisfactory workaround. Any suggestions on how to resolve this so that it works properly with the cropping control inside a modal popup dialog would be great!
Ellerinize sağlık. Oldukça faydalı bir araç. Özellikle CMS yazılan siteler için…