Could you add the values to get uploaded file’s Width and Height for the even “A Uploadcare uploading is finished”
// get a widget reference
const widget = uploadcare.Widget("[role=uploadcare-uploader]");
// listen to the “upload complete” event
widget.onUploadComplete(fileInfo => {
// get image width and height
console.log(fileInfo.imageInfo.width);
console.log(fileInfo.imageInfo.heoght);
});