I’v working on a solution where I have split the work flow of uploadcare to 2 section where, first user will use the file uploader to upload images and then the images are loaded to the webpage. Then from the webpage when user click on an image it should load the upload care tab effects. At the moment it loads the widget but no effects.
<input type="hidden" id="crop-box" name="crop-box" data-single data-tabs="" data-images-only data-effects="crop,rotate,enhance,sharp,grayscale" />
Here is the JS code
var singleWidget = uploadcare.SingleWidget('[id=crop-box]'); uploadcare.registerTab('preview', uploadcareTabEffects); singleWidget.value($(this).find('img').attr('src')); singleWidget.openDialog();
Any ideas how can I load tab effects on this
singleWidget widget instance?