Open Rqsb opened 10 years ago
There is no onLoad method for now, so u have 2 options:
setTimeout(function() {
crop = $('#cropimage').data('cropbox');
crop.zoom(1); // or zoom(0);
crop.update();
}, 100);
or use one of pull requests: https://github.com/acornejo/jquery-cropbox/pull/56, https://github.com/acornejo/jquery-cropbox/pull/51
Hello,
I've been trying to use your zoom() and update() methods in a code snippet but so far it doesn't do anything. What did I get wrong ?
Here's the code snippet I used
Thanks !