trepmag / jrac

jQuery Resize And Crop (jrac) is a jQuery plugin that build a viewport around a given image permitting to visually resize an image and place a crop
GNU General Public License v2.0
137 stars 50 forks source link

Multiple Instances #16

Closed kuyucakli closed 11 years ago

kuyucakli commented 12 years ago

I am trying to create a tabbed image crop tool

Every tab has different crop sizes. I am creating 3 different jcrop with 2 of them hided. But the values from the observator are wrong.

Is it a bad idea to cretae multiple jcrops on the sama page?

trepmag commented 12 years ago

No it should work even with multiple instances of jrac. I have just tried a setup with two images and made jrac apply on them and couldn't find any issues.

What are the properties of the observator which show wrong values?

ankitml commented 11 years ago

I am using JRAC with multiple instances on a single page. And the number of instances are calculated on the fly. No problem with that. This issue can be closed.