Closed rajankapila closed 8 years ago
This happens with the new dist file on init and then loading an imageSrc TypeError: previewSize is undefined jquery.cropit.js Line 660
$('#image-editor').cropit({imageState : {'src' : src}});
Most likely you need to change .cropit-image-preview to .cropit-preview. I just put together a migration guide to 0.5 in README.
.cropit-image-preview
.cropit-preview
This happens with the new dist file on init and then loading an imageSrc TypeError: previewSize is undefined jquery.cropit.js Line 660