title: FDPF: Image is too large for page
body: <p>I'm using FPDF to create PDFs full of images. Some of these images are by far too long for a page and I need it to spread to the next page. Scaling it to a default page height won't do. 
  What I'm trying to archive is to automatically insert a page break at some position. I could split the image in parts and insert every part on a new page, but I would very much like to not do that. Is there a way I haven't found yet that FPDF does that for me?</p>
  
  <pre><code>$pdf = new FPDF("P", "mm", "A4");
  $pdf-&gt;SetAutoPageBreak(true); 
  $pdf-&gt;SetDisplayMode('real');
  $pdf-&gt;Image($picUrl, 12, $pdf-&gt;GetY(), 185);
  $pdf-&gt;Output($project-&gt;getName().".pdf", "D");
  </code></pre>