Closed david-rouchet closed 7 years ago
It should work, but again, this package is just a wrapper around phantomjs and you need to search for your rendering issues there https://github.com/ariya/phantomjs
If you reference local image with file protocol, you need to set the allowLocalFilesAccess:true
option
https://github.com/pofider/phantom-html-to-pdf#local-options
@pofider Tnx for the feedback. I did that too (the option) but with no more success.
FYI - for future reference, this solved the issue for me
https://github.com/pofider/phantom-html-to-pdf/issues/34#issuecomment-383053620
The generated pdf does not render the images that are in the html, although the temporary generated html file does display them properly. Is there a special settings or method to have them in the pdf?