mPDF error: IMAGE Error (...) Could not find image file
<p>Baiscally I make a <em>pdf file out of html view file</em> (<strong>mpdf</strong> library), the latter containing image. Image is not displayed. When I insert <code>$mpdf-&gt;showImageErrors = true;</code> I get the error and the (image exists and accessible). I don’t know why this is happening, and I heed help. </p>

<p>I've tried with absolute path and https:// - nothing works.
This is the error message I get from the cron:</p>

<blockquote>
  <p><B>mPDF error: </B>IMAGE Error
  (<a href="https://mysite.lv/assets/design/image.png" rel="nofollow">https://mysite.lv/assets/design/image.png</a>): Could not find image file</p>
</blockquote>

<p>or </p>

<blockquote>
  <p><B>mPDF error: </B>IMAGE Error
  (var/www/html/bank/assets/design/image.png): Could not find image file</p>
</blockquote>