You can programmatically get the image and check the dimensions using Javascript...
const img = new Image();
img.onload = function() {
alert(this.width + 'x' + this.height);
}
img.src = 'http://www.google.com/intl/en_ALL/images/logo.gif';
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…