Declined
Last Updated: 18 Oct 2021 13:13 by ADMIN
Chris
Created on: 10 Jun 2013 11:52
Category: Upload
Type: Feature Request
2
Add image dimension support to upload
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.
1 comment
ADMIN
Ianko
Posted on: 18 Oct 2021 13:13

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/.