Support

Home Forums Event Espresso Premium How to get a background image on invoice?

How to get a background image on invoice?

Posted: March 19, 2014 at 4:13 am

Viewing 3 reply threads


Anonymous

March 19, 2014 at 4:13 am

I would like the PDF-invoices to have a background image, let’s say like a watermark.

I experimented updating /wp-content/plugins/event-espresso/gateways/invoice/template.php by adding something like this:

$pdf->Image(‘ticket-events-A5.jpg’, 0, 0);

but that did not do the trick. Any ideas?


Dean

March 19, 2014 at 6:23 am

Hi,

We use FPDF for the invoice creation in EE3. so the best thing to do is to check Google for FPDF and watermark or background image.

It will show a variety of different options, not seem that easy, but FPDF is not the most user friendliest.

E.g. http://stackoverflow.com/questions/10468478/fpdi-fpdf-watermark-and-print-multiple-pages


Anonymous

March 19, 2014 at 7:55 am

Thanks for your reply. Of course I asked Google first, that’s how I got to the $pdf->Image() in the first place :-).

Struggled a bit further and got it to work now! Had to move the line a bit further down (after $pdf->AddPage();), and add the right dimensions (210 mm). I am working on the rest of the invoice now, it’s gonna be just the way I want it! Thanks for your support.


Josh

  • Support Staff

March 19, 2014 at 3:33 pm

Hi Anouk,

Glad to hear that worked out.

Viewing 3 reply threads

The support post ‘How to get a background image on invoice?’ 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.

Event Espresso