These are chat archives for matiasgagliano/guillotine

Feb 2016
Feb 03 2016 01:39

Hi is there a way to update a guillotine instance? I try doing

var picture = $('#image');
picture.guillotine({width:300, height:400, init: {x: 10, y:10}})

but this gives very strange results, the height/width becomes a lot bigger then the values I put in.
I'm working on a cropper that should be able to crop in multiple sizes so I need to be able to switch the cropper size dynamically

Matías Gagliano
Feb 03 2016 19:45
Hi @enkitosh, what you're doing should work, removing and re- creating the guillotine is the way to go. Add some details of exactly what you see, a demo, fiddle or some example to better understand what's going on.