title: Phantom-node module unable to load external resources
body: <p>i'm working on a nodejs server which renders posted html to pdf,png or jpg.
  ( <a href="https://github.com/svenhornberg/pagetox" rel="nofollow noreferrer">https://github.com/svenhornberg/pagetox</a> (server.js) if you want to try it)</p>
  
  <p>It is working really good, renders complex sites but only to that point that i want do load a simple image. For example i am sending following code to my server:</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;logo&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;img alt="logo" src="http://upload.wikimedia.org/wikipedia/commons/d/de/Wikipedia_Logo_1.0.png"&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The Code should be okay. <strong>But the rendered response image does not contain the logo image.</strong>
  As said in the phantomjs documentation (<a href="http://phantomjs.org/api/webpage/property/settings.html" rel="nofollow noreferrer">http://phantomjs.org/api/webpage/property/settings.html</a>) localToRemoteUrlAccessEnabled is set to false, so set it to true like said in the documentation of phantom-node (<a href="https://github.com/sgentle/phantomjs-node/" rel="nofollow noreferrer">https://github.com/sgentle/phantomjs-node/</a>):</p>
  
  <pre><code>  page.set('settings.localToRemoteUrlAccessEnabled', true);
    page.set('settings.loadImages', true);
  </code></pre>
  
  <p>to prove it is set to true, i called a getter which returns true</p>
  
  <pre><code>  page.get('settings.localToRemoteUrlAccessEnabled', function(data) { console.log(data);});
  </code></pre>
  
  <p>i'm using node v0.10.26 with phantomjs-node (0.6.1), phantomjs(1.9.7) on linux </p>
  
  <p><strong>Now the question, does anybody see a mistake ? Or can give me a hint what i am doing wrong. Or any other possibilities why phantomjs/phtanom-node isnt loading any external images</strong></p>
  
  <p>I am using the render method to generate the png, jpg or pdf file. I am calling the method inside the evaluate function as a callback, so the site should be loaded completely.
  (the full code is at <a href="https://github.com/svenhornberg/pagetox/blob/master/server.js" rel="nofollow noreferrer">https://github.com/svenhornberg/pagetox/blob/master/server.js</a>)</p>
  
  <p>Edit1: I'm not behind a proxy, which maybe blocks the requests.</p>