title: Display image in PDF using fpdf
body: <p>I want to insert an image in my created PDF file. However, it won't position well at all. </p>
  
  <p>If I do this:</p>
  
  <pre><code>$fpdf-&gt;Image($row_products['prod_imagelarge'], 10); 
  </code></pre>
  
  <blockquote>
    <p>The images will appear however, they're too big.</p>
  </blockquote>
  
  <p>If I do this:</p>
  
  <pre><code>$fpdf-&gt;Image($row_products['prod_imagelarge'],30, 40, 40, 40);
  </code></pre>
  
  <blockquote>
    <p>Not all images will appear. Only 1 image per page will appear but with
    the right size.</p>
  </blockquote>
  
  <p>Actually, I am inserting an image inside a while loop. 
  What I would want to display in the pdf file is: (in order)  </p>
  
  <pre><code>-product name (works fine)  
  -product image (the problem is here!)  
  -product description (works fine)
  </code></pre>