I m having a function to get the image width and height but that is not responding to the new images being loaded via a ajax call.
The function being -
$('img').on('load',function() {
console.log(this.width + 'x' + this.height);
});
but i m adding DOM to the page using ajax call but the above code is not responding to the new images being loaded
My example page being here in the link with the console logs.
Regards