title: Dompdf remote image is not displaying in pdf
body: <p>On my server pdf generated via dompdf was not displaying images.
  Because they are remote url images.(local images are working fine)
  then I come to know that it needs some settings to render remote images.</p>
  
  <pre><code>allow_url_fopen = true =&gt; i can not as server control is not in my hand.(and no one will suggest to do this due to security reasons)
  read/write access to the DOMPDF_TEMP_DIR (already have this)
  DOMPDF_ENABLE_REMOTE = true (already have this)
  </code></pre>
  
  <p>So to sure the issue of allow_url_fopen, I set false in my localhost which is now giving the same output as server.</p>
  
  <p><strong>So, now the issue is now I want to display remote images in PDF with allow_url_fopen = false</strong></p>
  
  <ul>
  <li>I tried almost 5-10 unique ways to do this.</li>
  <li>I tried to display image in php file (via setting headers) and then
  displaying the php link in pdf</li>
  <li>I tried to display image via absolute path to php too but nothing
  worked.</li>
  <li>I tried via getting image via curl in a function and then displaying
  it in a php file ...but no luck.</li>
  </ul>
  
  <p>Is there anyone can suggest me how can I display image in pdf please.
  The error I am always getting is ...</p>
  
  <pre><code>Image not found
  http://localhost/dompdf/image.php
  </code></pre>
  
  <p>and</p>
  
  <pre><code>Image not found
  http://localhost/dompdf/image.jpg
  </code></pre>