title: load external images with jquery not working
body: <p>I am trying to load images through ajax call in jquery using <a href="https://stackoverflow.com/questions/4285042/can-jquery-ajax-load-image">This here</a>. its not working at all and I am not sure what I am doing wrong, I am using firebug and do not see any request. Any help would be appreciated.</p>
  
  <pre><code>  var img = $('&lt;img  /&gt;').attr('src', thumbnailUrl).load(function () {
                      if (!this.complete || typeof this.naturalWidth == "undefined" || this.naturalWidth == 0) {
                          alert('broken image!');
                      } else {
                          $("#imageHolder").append(img);
                      }
  
                  });
  </code></pre>