title: Wrong width and height for an ajax inline fancybox containing an image
body: <p><br />
  I'm using the fancybox plugin for ajax and images displays and it's working fine when it's a simple scenario. But I'm dealing with quite a tricky issue here.</p>
  
  <p>I have a link which does an ajax call via fancybox, and returns an HTML code with a image within (<code>&lt;img /&gt;</code> tag). From what I do understand in the fancybox jquery plugin, the HTML is put into a <code>tmp</code> var via the <code>html()</code> jquery function. After that it calls the <code>_process_inline()</code> function in which the width and height of the fancybox box are calculated thanks to the height and width of the <code>tmp</code> var content.<br />
  The problem is that at this point, when I do a <code>tmp.find("img").width()</code> the value is 0 whereas the actual one is 560 pixels.</p>
  
  <p><br />
  Does any of you know a solution to solve this problem apart from adding <code>width</code> and <code>height</code> attributes to the image?</p>
  
  <p>Cheers,<br />
  Nicolas</p>