Get Image size 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:30 UTC
Read the original article Hit count: 249

Hi,

I have file upload UI element in which the user will upload images. Here I have to control the 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?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about fileupload