marcbachmann / node-html-pdf

This repo isn't maintained anymore as phantomjs got dreprecated a long time ago. Please migrate to headless chrome/puppeteer.
MIT License
3.55k stars 544 forks source link

Images not appear in options Header and Footer from public url #668

Closed arensade closed 2 years ago

arensade commented 2 years ago

Hi, I would like to add a note here for some may facing below problem. If you would like to put images in header and footer from url but you failed even using some options like --ignore-ssl-errors=yes please check your images content-type header. If your file comes with no content-type it will not appears on header and footer!