This package does not target a current version of Umbraco, and is no longer maintained.
Note: This project is no-longer under active development. Consider using the now built in cropper.
A simple Image cropper with flexible validation.
Features
Usage
Regex validation is performed against a string of this format:
IsValidSize:true|Width:200|Height:100|Length:400|Extension:.jpg|Name:blah.jpg
Therefore to validate the image is the correct size, use this regex:
.*IsValidSize\:true.*
Configuration (optional Web.Config entry)
<add key="ImageCropperIgnoreMissingFiles" value="false"/>
Known Issues & Limitations
Roadmap (wish list)
I'd like to add the option to fix one dimension of the crop and allow th user to select the other, eg: fixed width variable height.
Revision History
v0.9.5
- updated to be compatible with umbraco 4.5 and 4.0.x
v0.9.4
- updated to fix null reference error occurring when used with other datatypes that take advantage of AJAX postbacks.
v0.9.3
- updated jCrop library to fix IE8 issues.
v0.9.2
- changed: DataTypeName to "Terabyte Image Cropper" to be more unique
- ! missing DLLs
v0.9.1
- added: configuration to ignore missing files (for shared DB seperate FS)
- bug: fix validation for non-image files
- bug: escape filename in jQuery so filenames with & in them can be cropped.
v0.9.0
- added: support for the mandatory checkbox and regex validation.
v0.8.4
- bug: fixed preview bugs in IE7
v0.8.3
- added: support for images larger than the available space (shrink to fit)
v0.8.2
- basic features (with support for fixed aspect ratio only)