JQUERY获取loaded 宽高这么变态:
$('<img/>').attr('src',img.src).load(function() {
img.Owidth = $(this).width();
img.Oheight = $(this).height();
}).appendTo($('body')).hide();
还不如:
$('<img/>').attr('src', $self.attr('attr-src')).load(function() {
console.log(this.width());
});