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’.
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.