Closed Rqsb closed 10 years ago
Using multiple instances should not be an issue (I do it in my websites quite frequently).
Even in the demo, http://acornejo.github.io/jquery-cropbox/, there are already examples of using multiple cropbox instances of different sizes.
Unfortunately, I do not have the time required to debug your app (read the bug reporting section at the end of the README in this repository). Summary: If you can repdoduce the problem in the jsfiddle http://jsfiddle.net/Ak6d5/, feel free to post a link here and I'll reopen this issue.
Hello,
I've been struggling a bit with the binding of multiple instances. Visually, the plugin works correctly, but since I need to bind it on the go, I have trouble with binding the data correctly. In fact, when I have 5 instances of the plugin in one page, the data returned is always from the latest created cropbox.
On your example, you create 2 cropboxes by using the next selector, but since I cannot do that for my app, I have to identify them related to the id of the image and then bind it the right fields in the form.
Here's a link to a test http://selim-benhhabbour.fr/cropbox/
Thanks for your help !