It woudl be great if we coudl access an images dimensions on upload, to avoid having to do server trips to determine if an image is valid.
Hi,
The Upload itself cannot somehow get the dimensions of an image file. This can be done only by rendering the image on the browser, which is rather a custom scenario to the Upload and it is shown here: https://docs.telerik.com/kendo-ui/controls/editors/upload/how-to/add-image-preview. More specifically, such a client-side approach would render the image hiddenly moved out of the view port and get its dimensions and validate them.
Regards,
Ianko
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.