Thanks for this amazingly useful plugin. I am also missing this one feature that I've read about in another issue, you said it was a available in the dev branch, but it doesn't seem to be working properly.
I can't get this to work... I need to be able to get the position of the image when you drag it around or zoom it.
onOffsetChanged: function () {
console.log('test');
}, - nothing gets logged...
And the following gives an error in this dev branch: var imageSize = $imageCropper.cropit('imageSize'),
Could you please add a callback that we can use to get coordinates when dragging the image around over the page?
The reason I need this is that I need to keep a vertical red line centered on the image at all times, so the I need to know where to position the line when the user drags or zooms the image.
Thanks for this amazingly useful plugin. I am also missing this one feature that I've read about in another issue, you said it was a available in the dev branch, but it doesn't seem to be working properly.
Is that this version? https://github.com/scottcheng/cropit/blob/dev/dist/jquery.cropit.js
I can't get this to work... I need to be able to get the position of the image when you drag it around or zoom it.
onOffsetChanged: function () { console.log('test'); }, - nothing gets logged...
And the following gives an error in this dev branch: var imageSize = $imageCropper.cropit('imageSize'),
Could you please add a callback that we can use to get coordinates when dragging the image around over the page?
The reason I need this is that I need to keep a vertical red line centered on the image at all times, so the I need to know where to position the line when the user drags or zooms the image.
Cheers!