Tag Archive | "DomPDF"

PHP: HTML to PDF

Tuesday, January 31, 2012

0 Comments

I’ve pretty much tried all the PDF libraries out there for saving HTML to PDF appropriately and correctly using PHP and came to a conclusion (continue reading). The one that worked the fastest and most efficiently was the HTML to PDF class on PHP Classes but eventually this EasySW remote HTML to PDF service in [...]

Continue reading...

DomPDF images not working

Thursday, January 5, 2012

1 Comment

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" /> OR <img src="http://domain.com/images/myimage.jpg" /> The solution is to change the image SRC to the absolute path [...]

Continue reading...