1

Hallo!

I'm trying to generate the PDF with some background images, but I got the following error message:
_______________________________________________________________________________

File : /var/www/vhosts/deelat.ca/dev/common/pdf/html2pdf/html2pdf.class.php
Line : 1582

Impossible to load the image ...
_______________________________________________________________________________

I tried with the full URL (on the same domain), with the root-relative path, with the path relative to the PHP script, the path relative to the html2pdf.class.php, but the error message is always the same.

Do you have any suggestion how to debug this?


Best regards!!

2

Hello,

you can try : <img src="./images/imagename.jpg" alt="" width="250" height="61">
I had the same problem before
Best regards

Salut

Vous pouvez tester : <img src="./images/imagename.jpg" alt="" width="250" height="61">
J'avais les mêmes problèmes avant ce code.

Cordialement