Blog AboutGalleryPortfolioContact
Kenneth Solberg
Welcome to my blog

Image Cropper v0.9

I’ve just updated the Image Cropper datatype with some adjustments, bugfixes and new features:

  • Ability to configure what quality you want the crops in
  • Default positioning of crops (Left/Center/Right and Top/Middle/Bottom)
  • Fixed an interpolation issue when resizing that would produce a soft border around the crop
  • Fixed an issue when saving/publishing after a postback

I’ve changed the location where crops are stored from an underlying /crops folder to the original image location as well as changed the name of the generated crops to /media/(propertyid)/filename_(cropname).jpg. I did this because it will let you override the default image thumbnail in the Media section by naming at least one of the crop presets ‘thumb’.

media

PS! Insert image dialog in RTE will still show a rectangular vertically centered view of the thumb, so you are warned ;-). I’ll add a configuration option for this in the next version.

Thanks to all for your feedback on the first release. Lots of great ideas that I’ll try to implement at some point such as max viewsize (Thanks Thomas) and more.

Download Image Cropper v0.9 for Umbraco

posted
categories
comments

21 comments

Add comment
awesome stuff! and it keeps getting better. This is a wonderful addition to umbraco - should give designer/developers a huge sense of security knowing they can have even more control over client managed content and design integrity! Thanks!
Sweet Job. Looking forward to being able to use it soon.
#3  Tommy
Good job, Kenneth! Though I'll probably wait for next version before I update ;-)
#4  bob
kenny... it appears that i cannot add any new datatypes that are not imageCroppers after installing the cropper... is this an error on my part or something you need to address? clean 4.0.1 install...
#5  bob
here is the error i get when trying to create a new datatype... An error has occurred because a control with id 'ctl00$body$ctl02' could not be located or a different control is assigned to the same ID after postback. If the ID is not assigned, explicitly set the ID property of controls that raise postback events to avoid this error.
@bob - fixed it just before I went on a holiday trip to Spain. I´ll make the last build available when i get back this Friday.
#7  Laurence
Hi, looks like an interesting package... Having a few issues pulling the data when its used in the document tree rather than media. Would love to see the source if thats possible :) Lau
#8  Laurence
Hi, looks like an interesting package... Having a few issues pulling the data when its used in the document tree rather than media. Would love to see the source if thats possible :) Lau
#9  Martin
Hi Kenny, Great stuff! When Creating a new datatype I get this error An error has occurred because a control with id 'ctl00$body$ctl02' could not be located or a different control is assigned to the same ID after postback. If the ID is not assigned, explicitly set the ID property of controls that raise postback events to avoid this error. I saw Bob got the same error. Have you already created a new build? I downloaded the one on this page, but it still gives the error. thanks Martin
Thanks for you plugins.There are questions than need help. How can i change the size of image when the section is shown? And how can i change the size of section to a fixed size when section is shown also?I call $.Jcrop(’#thumbnail’,{**}); again,but the older section is shown also.
Nice work
Thanks for great stuff!
Wow! i agree! i’ve been searching for so long for a site where i could find everything that i want, and i’ve just found it!! really, i’ve visited your blog, and it’s amazing, i will keep visiting
Image cropper - i dont know much more about it. But i think it will be helpful me to make a my blog images.
Hi, looks like an interesting package... Having a few issues pulling the data when its used in the document tree rather than media. Would love to see the source if thats possible :) Lau
<>.. ] is one great source of information on this issue<>..]
nice blog to get information about cropper
#18  Alicecgz
Hi everyone Do not miss your chance to get a free ipad. Visit http://bit.ly/cmmVr7
it is very interesting .Thanks that you share whit us this informations.
This thing, what you've created is just great! Keep on working!
#21  Rachelcgw
Hello everyone Do not miss your chance to get a free iPhone 4G. Visit http://bit.ly/d9QOON

Add comment

Name  

E-mail (optional, will not be displayed)

Website (optional)

Comment  

Enter the code shown: