scottcheng / cropit

A "customizable crop and zoom" jQuery plugin.
http://scottcheng.github.io/cropit/
MIT License
874 stars 307 forks source link

need help with background borders - not working for me #247

Closed trstaley closed 7 years ago

trstaley commented 7 years ago

Have added background borders to the demo file form.html using the following:

$('.image-editor').cropit({
    imageBackground: true,
    imageBackgroundBorderWidth: 15
});

However, borders do not display. What am I missing?

io-ma commented 7 years ago

$('#image-cropper').cropit({ use an ID "image-cropper" instead of using an image-editor class.

trstaley commented 7 years ago

Thank you so much. My bad thinking the name could be changed. Not smart on my part.