Are you having problems with images not displaying in DomPDF generated PDFs?

The probable reason is because you’re linking your images in HTML with a path from the script or with an absolute URL like this:

<img src="images/myimage.jpg" />


<img src="" />

The solution is to change the image SRC to the absolute path on the server, like this:

<img src="/var/www/domain/images/myimage.jpg" />

That will fix the problem!