How to adapt this solution (code from here: https://stackoverflow.com/a/626505/975443)
var img = new Image();
img.onload = function() {
alert(this.width + 'x' + this.height);
}
img.src = 'http://www.google.com/intl/en_ALL/images/logo.gif';
for multiple images (for loop through an array)?