Support

Home Forums Event Espresso Premium Insert background image to PDF invoice EE3

Insert background image to PDF invoice EE3

Posted: November 23, 2018 at 8:18 am


Jordy van Overeem

November 23, 2018 at 8:18 am

Hi there,

I want to change the background from the standard PDF invoice you can download from the user page.

Any idea how i can add a background image that will fill up the complete white background in the PDF invoice? I already made some changes in the template field and i already placed the folder in uploads/espresso/gateways/invoice.

Hope someone can help me.

Best regards,

J


Josh

  • Support Staff

November 23, 2018 at 10:08 am

Hi,

EE3 uses the FPDF library, so this answer found on stack overflow will apply:

https://stackoverflow.com/a/20886692/2311736


Jordy van Overeem

November 24, 2018 at 1:54 am

Hi Josh,

I tried this, but it looks really weird and all the information is gone.
Also the file name is changed to doc.pdf.


Josh

  • Support Staff

November 26, 2018 at 9:52 am

Neither of those things should happen. May I ask what’s the image URL you’re using, and exactly what did you change in the template?


Jordy van Overeem

November 27, 2018 at 2:09 am

Hi Josh,

Thank you for the reply back. Right now it’s fixed! I just needed to use 1 line of the code. Only the line with the image.

Image does work now!

The support post ‘Insert background image to PDF invoice EE3’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Jordy van Overeem 6 months ago ago

Topic Tags

Notifications

This topic is:
pending
Do NOT follow this link or you will be banned from the site!