Add image in header using html-pdf node module

后端 未结 6 1088
轻奢々
轻奢々 2021-02-13 23:10

I am using this to convert the html to PDF.The conversions are really good.But the problem is to add header and footer in the PDF pages.In the options if i add the header text i

6条回答
  •  执笔经年
    2021-02-13 23:47

    I found a simple and easy way to do it and you can put your image source path into your HTML.

    like this

    This will work successfully to load the images and also CSS I think so. Hopefully, this is helpful for other people.

提交回复
热议问题