1 i f 2 <--- 해석가능하시죠 ?

Posted
Filed under dog발;/javascript
var oImg = new Image();

jQuery(oImg).load(function(){
     var nW = oImg.width;
     var nH = oImg.height;
     alert(nW + "x" + nH);
});

oImg.src = "이미지url";
2016/07/05 15:32 2016/07/05 15:32