how to get image dimension in JavaScript?

Jak
Jak
908 Points
132 Posts

I have input file type to upload image. 

<input id="AuthorImage" name="AuthorImage" type="file">

I want to know the dimension of image on client-side. What is the better approach in JavaScript?

Views: 8415
Total Answered: 0
Total Marked As Answer: 0
Posted On: 08-Jun-2017 21:18

Share:   fb twitter linkedin
You mean, you are uploading image file and want to know the dimension of the image.
 - Rahul Maurya  19-Jan-2018 01:54
Yes, on Clint side
 - Jak  19-Jan-2018 01:58
Answers
 Log In to Chat