FPDF Header Image not showing on Page
<p>I am trying to copy the demo (<a href="http://www.fpdf.org/en/tutorial/tuto2.htm" rel="nofollow noreferrer">http://www.fpdf.org/en/tutorial/tuto2.htm</a>) from FPDF.org and have copied the following code:</p>

<pre><code>class PDF extends FPDF {
    function Header() {
        $this-&gt;Image('http://domain.co.uk/img/quote-header.png', 10, 6, 30);
        $this-&gt;SetFont('Arial', 'B', 15);
        $this-&gt;Cell(80);
        $this-&gt;Cell(30, 10, 'Title', 1, 0, 'C');
        $this-&gt;Ln(20);
    }
}
</code></pre>

<p>A PDF file is generated which is brilliant, however - the Header image does not show? What is going wrong?</p>

<p>Complete code:</p>

<pre><code>&lt;?php
    $fullname = $_POST['fullname'];
    $jobtitle = $_POST['jobtitle'];
    $organisation = $_POST['organisation'];
    $department = $_POST['department'];
    $addressline1 = $_POST['addressline1'];
    $addressline2 = $_POST['addressline2'];
    $addressline3 = $_POST['addressline3'];
    $towncity = $_POST['towncity'];
    $county = $_POST['county'];
    $postcode = $_POST['postcode'];
    $email = $_POST['email'];
    $telephone = $_POST['telephone'];

    require('fpdf181/fpdf.php');

    class PDF extends FPDF {
        function Header() {
            $this-&gt;Image('http://domain.co.uk/img/quote-header.png', 10, 6, 30);
            $this-&gt;SetFont('Arial', 'B', 15);
            $this-&gt;Cell(80);
            $this-&gt;Cell(30, 10, 'Title', 1, 0, 'C');
            $this-&gt;Ln(20);
        }
    }

    $pdf = new FPDF();
    $pdf-&gt;AliasNbPages();
    $pdf-&gt;AddPage();
    $pdf-&gt;SetFont('Arial', '', 10);

    $pdf-&gt;Cell(40, 10, ''. $fullname .'');
    $pdf-&gt;Ln(4);
    $pdf-&gt;Cell(40, 10, ''. $jobtitle .'');
    $pdf-&gt;Ln(4);
    $pdf-&gt;Cell(40, 10, ''. $organisation .' ('. $department .')');
    $pdf-&gt;Ln(4);
    $pdf-&gt;Cell(40, 10, ''. $addressline1 .'');
    $pdf-&gt;Ln(4);
    $pdf-&gt;Cell(40, 10, ''. $addressline2 .'');
    $pdf-&gt;Ln(4);
    $pdf-&gt;Cell(40, 10, ''. $addressline3 .'');
    $pdf-&gt;Ln(4);
    $pdf-&gt;Cell(40, 10, ''. $towncity .'');
    $pdf-&gt;Ln(4);
    $pdf-&gt;Cell(40, 10, ''. $county .'');
    $pdf-&gt;Ln(4);
    $pdf-&gt;Cell(40, 10, ''. $postcode .'');
    $pdf-&gt;Ln(8);
    $pdf-&gt;Cell(40, 10, ''. $email .'');
    $pdf-&gt;Ln(4);
    $pdf-&gt;Cell(40, 10, ''. $telephone .'');
    $pdf-&gt;Ln(8);
    $pdf-&gt;Cell(40, 10, ''. date("d-m-Y") .'');
    $pdf-&gt;Ln(4);
    $pdf-&gt;Cell(40, 10, 'Quotation Ref; WQ'. rand() .'');
    $pdf-&gt;Ln(8);
    $pdf-&gt;Cell(40, 10, 'Dear '. $fullname .',');
    $pdf-&gt;Ln(4);
    $pdf-&gt;Cell(40, 10, 'As requested, please see your quotation below:');
    $pdf-&gt;Ln(8);

    for($i = 1; $i &lt;= 5; $i++)
    $pdf-&gt;Cell(0, 10, 'Printing line number ' . $i, 0, 1);

    $pdf-&gt;Cell(40, 10, 'This quotation will be valid for the remainder of 2016 subject to our terms and conditions.');
    $pdf-&gt;Ln(4);
    $pdf-&gt;Cell(40, 10, 'Pricing submitted is strictly confidential between Business Ltd. and '. $organisation .'.');
    $pdf-&gt;Ln(8);
    $pdf-&gt;Cell(40, 10, 'Please do come back to us if you have any queries whatsoever relating to the above quotation or if you would like');
    $pdf-&gt;Ln(4);
    $pdf-&gt;Cell(40, 10, 'to discuss further options.');
    $pdf-&gt;Ln(8);
    $pdf-&gt;Cell(40, 10, 'We look forward to hearing from you in the near future.');
    $pdf-&gt;Ln(8);
    $pdf-&gt;Cell(40, 10, 'With best wishes,');
    $pdf-&gt;Ln(4);
    $pdf-&gt;Cell(40, 10, 'Business Ltd.');

    $pdf-&gt;Output();
    $content = $pdf-&gt;Output('('. date("m") .'-'. date("Y") .') WQ'. rand() .'.pdf', 'F');
?&gt;
</code></pre>