JavaScript獲取圖片(Image)的大小(寬度,高度)

若是隻有圖片的URL function getImageDimensions(imgStyleRule) { var defaultSize, img; defaultSize = { width: 10, height: 30 }; if (!imgStyleRule || !imgStyleRule.style || !imgStyleRule.style.ba
相關文章
相關標籤/搜索