1

Hi, sorry I don't speak French! But I will use Google Translate as needed. smile

I'm finding that if a <img> tag has a "src" attribute relative to the document root (e.g. "<img src='/some/where/image.jpg'>") then html2pdf will try to find it at that location relative to the filesystem, not the document root.

Is this a bug, or something I need to do? If a bug, where might I look to fix it?

Thanks!

2

This fork addresses this among other things (you can specify the document root prior to rendering the PDF): https://github.com/iafan/html2pdf