function attachPhoto() {
var path="http://www.w3schools.com/images/pulpit.jpg";// i need to check size of image
}
i have a button while clicking am getting the properties of image(size in kb or mb)
function attachPhoto() {
var path="http://www.w3schools.com/images/pulpit.jpg";// i need to check size of image
}
i have a button while clicking am getting the properties of image(size in kb or mb)
No, you cannot get the image size using jQuery. You will need to process the file using server-side code.