title: PhantomJS: When does onLoadFinished fire, and can it fire before external resources (like images) finish?
body: <p>I am loading some HTML into a WebPage object and listening for the "onLoadFinished" event. When the onLoadFinished is fired, I render the webpage to png. </p>
  
  <p>The issue I'm seeing is that certain images in the HTML content consistently render when I use a SRC attribute like <a href="http://example.com/image.png" rel="nofollow">http://example.com/image.png</a>, but do not render consistently when I use <a href="https://example.com/image.png" rel="nofollow">https://example.com/image.png</a> in the SRC attribute (both SSL and non-SSL flavors are served properly when I access them via a browser). </p>
  
  <p>Is the rendering problem due to a timing issue? Can onLoadFinished fire before images are loaded? If so, is there a clean way to verify that the images have been loaded before rendering to PNG?</p>