这里有 naturalWidth 和 naturalHeight 两个 DOM 属性。 例如:var image = new Image(); image.src = "test.jpg"; image.onload = function() { alert('width - ' + image.naturalWidth); alert('height - ' + image.naturalHeight); } 或者在jsFiddle上查看示例。 更多信息请参见MDN。