matiasgali / guillotine

jQuery plugin to crop images within an area (fully responsive), allowing to drag (touch support), zoom and rotate.
http://guillotine.js.org
326 stars 100 forks source link

Two image selection make conflicts #42

Closed lizy1630 closed 8 years ago

lizy1630 commented 8 years ago

Hi, I tried in my webpages and find a conflict when doing more than one picture crop/rotation. The first one on my page works out fine, but the second is not showing the picture at all after doing picture.guillotine({width:xx,height:xx,eventOnChange: 'xxx'}). Then I traced back, it happens to be this line in your code. line 172: guillotine = canvas.wrap(guillotine).parent();


UPDATE Sorry, just checked, it was something conflicts with my css.

matiasgali commented 8 years ago

@lizy1630, you might want to check out this answer too.