title: Image load not working with IE 8 or lower
body: <p>I am aiming to check if image has been loaded successfully. It has been working well in modern browsers but IE8 or 7 it is a terrible issue. Here is a sample code:</p>
  
  <pre><code>var img = new Image(),
      url = 'http://something.com/images/something.gif';
  
      $(img).attr('src', url).load(function() {
          if (!this.complete || typeof this.naturalWidth == "undefined" || this.naturalWidth == 0) {
              alert('broken image!');
          } 
          else {
              alert('successfully loaded');
          }
      } 
  </code></pre>
  
  <p>Anyone has any idea to work around with this issue? Thanks in advace!</p>