Customizing the PDF invoice layout

  • Massimo
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 2 weeks ago - 10 years 2 weeks ago #44546 by Massimo
Customizing the PDF invoice layout was created by Massimo
I'd like to use the Invoice settings of Membership Pro to automatically send a customized membership virtual card to my subscribers.
In order to do that I need a background picture (the card graphics) with Name / Surname and expiry date written on it.
That would be easy to do if the HTML code taken in the invoice settings accepted a table with background picture, but it doesn't seem to work. I tried to create a table with background picture and overlaying text, but when the PDF invoice is generated, it contains only the text and no picture.
Example
This is how the invoice should look:


And this is how it turns out in the invoice PDF file:


Can you please show me the HTML code that I should use in order to get the text over the picture?
Thanks
Last edit: 10 years 2 weeks ago by Massimo.

Please Log in or Create an account to join the conversation.

More
10 years 2 weeks ago #44557 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Customizing the PDF invoice layout
Hi John

Sorry but the PDF library we are using can only support some back HTML tags. It could not support background image for the table, so it is not possible to do this.

Regards,

Tuan

Please Log in or Create an account to join the conversation.