Upload images

Hi Webix team,

I want the dimensions of uploaded images before file add and also want the validation on dimensions

Thanks,
Mira

Hello!
Webix is UI framework, it provides UI components only. So the above functionality is out of its scope ( you can create an interface for any of above tasks, but you will need some other libs for image dimensions and similar tasks).
You can get the file as

onBeforeFileAdd:function(item){ item.file }

And use FileReader API to get the image: