azz... io avrei fatto un codice + crossbrowser..

var imm = document.images["imm"];
var w = imm.style.width;
var h = imm.style.height;

ecco qui