title: Inserting Image in PDF using FPDF
body: <p>I want to create PDF using PHP and for this I am using FPDF. Now I want to add two images at top of PDF (one at left corner and one right). I am using following code for this,</p>
  
  <p>Code:-</p>
  
  <pre><code>function Header () {
  $this-&gt;Image('logo.png',10,20,33,0,'','http://www.fpdf.org/');    
  $this-&gt;SetFont('Arial', 'B', 20);
  $this-&gt;SetFillColor(36, 96, 84);
  $this-&gt;SetTextColor(28,134,238);
  $this-&gt;Cell(0, 10, "Your Car Comparison Document", 0, 1, 'C', false);
  $this-&gt;Cell(0, 5, "", 0, 1, 'C', false);
  $this-&gt;Cell(0, 10, "Thanks for visiting CarConnect.", 0, 1, 'C', false);
  $this-&gt;Cell(0, 5, "", 0, 1, 'C', false);
  }
  </code></pre>
  
  <p>But when I add image code it will show 404 error on browser else it works properly.</p>