Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
How to get a background image on invoice? | Event Espresso - Staging Server

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


Anouk Schwieters

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

  • Support Staff

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


Anouk Schwieters

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

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 - Staging Server