title: FPDF error: Can't open image file: http://chart.apis.google.com/char
body: <p>I am using googlechartphplib to generate my charts. They are generated as images. Heres an example of one image - <a href="http://chart.apis.google.com/chart?cht=pc&amp;chs=200x200&amp;chtt=Svetain%C4%97%20veik%C4%97%3F&amp;chd=t%3A50.00%2C40.00&amp;chco=25C114%2CC11425&amp;chl=50%7C40&amp;chdl=Taip%7CNe&amp;chdlp=bs" rel="nofollow">Click Here</a>. I store this url as <code>$pie_chart1_url</code>.</p>
  
  <p>I am trying to make a pdf file, and i want to put this image inside this pdf. I am using fpdf class for this. I dont understand why am i having this problem:</p>
  
  <pre><code>$pdf-&gt;Image($pie_chart1_url, 0, 40, 0, 0, 'png');
  </code></pre>
  
  <p>Getting this error:  </p>
  
  <blockquote>
    <p>FPDF error: Can't open image file: <a href="http://chart.apis.google.com/chart" rel="nofollow">http://chart.apis.google.com/chart</a>....` error.</p>
  </blockquote>
  
  <p>If i write it manually:</p>
  
  <pre><code>$pdf-&gt;Image('http://chart.apis.google.com/chart?cht=pc&amp;chs=200x200&amp;chtt=Svetain%C4%97+veik%C4%97%3F&amp;chd=t%3A50.00%2C40.00&amp;chco=25C114%2CC11425&amp;chl=50%7C40&amp;chdl=Taip%7CNe&amp;chdlp=bs', 0, 40, 0, 0, 'png');
  </code></pre>
  
  <p>It works without any errors.. </p>