Checking Image size using jQuery validation not working
问题 I am uploading an image to the folder but before uploading, I am checking the image extension and size. I am using jQuery validation. I checked on SO before uploading the question and I found the code. But the issue is when I am uploading an image which is less than 100kb(actual image size is 98kb) then I am getting the error "File size must be less than 5" . I tried another image which is 3.8MB but still getting the same error. Would you help me out what size of the image I have to use here?