Get Image dimensions using Javascript during file upload

Posted by Sri Kumar on Stack Overflow See other posts from Stack Overflow or by Sri Kumar
Published on 2010-05-19T11:27:31Z Indexed on 2010/05/19 11:40 UTC
Read the original article Hit count: 246

Hi,

I have file upload UI element in which the user will upload images. Here I have to validate the height and width of the image in client side. Is it possible to find the size of the image having only the file path in JS?

Note: If No, is there any other way to find the dimensions in Client side?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about fileupload