i am trying this code but get only image size not image width.
$('#myFile').bind('change', function() {
var size = this.files[0].size;
var w = this.files[0].width;
var sizeKB = Math.round(size/1024);
alert(sizeKB+'KB');
alert(w);
});
<input type="file" id="myFile" />
anybody have solution?