Services Plugins FAQs

File Uploads - Uploadcare listen to uploader

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);
});

Hello, @adam2
Thanks for reaching out and your suggestion.

We will take into consideration the possibility to add these parameters for future plugin updates. We need to see how feasible it is to implement. Thanks for understanding and for your feedback!

Best regards,

It should not be hard to include these parameters in there as the plugin is already pulling similar information, but not these values.

Hello, @adam2

Please note that we already discussed with our team about improvement, as per your request.
This task is already is assigned to one of the developers, but unfortunately, I can’t give you a specific date when it will be ready.

I will notify you immediately after finishing.
Best regards,