I would like to generate a PDF file by using Html2PDF. My HTML code contains an image which generates an ImageException : Unable to get the size of the image.
Here is my HTML code :
<page>
<table>
<tr>
<td style="background-image: url('http://localhost:8000/uploads/societes/logos/5b23cfc3065f5716588985.jpg')"></td>
</tr>
</table>
</page>
The path of the image is correct as I can load it into my navigator by using the url.
What am I doing wrong?