Error: Object reference not set to an instance of an object.
I get this most unhelpful error when adding an Image Cropper to a document type, and attempting to edit/create new nodes with that type. Please help me out here!
I had the same problem. The image cropper does not have to go in the Media section, it can be applied to a Document Type, you will need to do the following:
- Create an Image Upload Property in the Document type; - Create an Image Cropper Data type; - And when adding the Property alias value to the Image Cropper Data type, ensure that it has the same value as the Image Upload Alias. - Add the Image Cropper Data type to the Document type
Error: Object reference not set to an instance of an object.
I get this most unhelpful error when adding an Image Cropper to a document type, and attempting to edit/create new nodes with that type. Please help me out here!
Probably you use image cropper in the content section instead of media section. Image cropper can be used only with media section datatype.
I had the same problem. The image cropper does not have to go in the Media section, it can be applied to a Document Type, you will need to do the following:
- Create an Image Upload Property in the Document type;
- Create an Image Cropper Data type;
- And when adding the Property alias value to the Image Cropper Data type, ensure that it has the same value as the Image Upload Alias.
- Add the Image Cropper Data type to the Document type
See screen grabs below.
Upload Property in the Document type:
Image Cropper Data type:
Awesome, thanks so much!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.