title: FPDF issue while generating pdf with images
body: <pre><code>require('fpdf/fpdf.php');
  
  $pdf-&gt;AddPage("P", "A4"); 
  $pdf-&gt;SetDisplayMode(150,'default');
  
  $pdf-&gt;Image($imagepath,60,30,90,0,'JPG');
  
  b_end_clean();
  $pdf-&gt;Output();
  </code></pre>
  
  <p>('FPDF error: Not a JPEG file: <a href="https://myurl.com" rel="nofollow">https://myurl.com</a>')</p>