TCPDF - Header image only displays on first page

前端 未结 3 864
谎友^
谎友^ 2021-01-19 03:16

I am using TCPDF to generate a 2 page pdf document.

I have added a header and a footer to the document. The text part of the header and footer shows up correctly on

3条回答
  •  迷失自我
    2021-01-19 03:57

    As said it is a tcpdf bug. In my case I had two logos in header one png and the other jpg. The problem happened only with the .png. Changing the image type from png to jpg solved the issue.

提交回复
热议问题