I am using HTML2PDF and I am trying to make images appear but I keep on getting this error:
ERROR n°6 File : /var/www/vhosts/default-domain.com/httpdocs/html2pdf_v4.03/html2pdf.class.php Line : 1321
Impossible to load the image /student/questions 3rd/images/small1324538668Number Lines 5.JPG
Can anybody please help me with this issue? I have been struggling with it for a while already.
This is the html code that I have.
<img src="/student/questions 3rd/images/small1324538668Number Lines 5.JPG" />
And here is the site to check to see how it works.
http://www.domain.com/html2pdf_v4.03/examples/Test.php
Please help!!
Thank You
While using HTML2PDF yo have to give the full path of your image like in this manner
http://domain/path/to/image
or you can give student/questions 3rd/images/small1324538668Number Lines 5.JPG because any script runs on base of index.php which is located in root so you have to give the image path from root location.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With