title: Image size before is in DOM
body: <p>How can I get image size before I put it into the DOM?</p>
  
  <pre><code>var imgLoad = $("&lt;img /&gt;");
  $(imgLoad).attr("src", ImageGallery.ImagesList[index] + "?" + new Date().getTime());
  $(imgLoad).unbind("load");
  $(imgLoad).bind("load", function () {
  
     // Get image sizes
     alert(imgLoad.width()); // RETURN 0
  
  });
  </code></pre>