Is there some way to validate the image size (height and width) before upload it to server?
I think is using Javascript but I don’t know how. Or maybe with some client asp.net validator.
Any advice?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This can’t be done using javascript on the client-side. Maybe you’ll find a file upload component written in flash, silverlight or similar that allows to restrict the files being uploaded by the type, size and dimensions.