Hi
I'm new to PrestaShop.
I tried to add a full size image background in the invoice PDF.
Therefore I added
// get current auto-page-break mode
$auto_page_break = $this->AutoPageBreak;
// disable auto-page-break
$this->SetAutoPageBreak(false, 0);
// set background image
$img_file = 'filename.jpg';
$this->Image($img_file, 0, 0, 0, 0, 'jpeg', '', 'T', false, 300, '', false, false, 0, true, false, true, false, '');
where filename is the fullname path the the jpg file.
The code above from the tcpdf tutorial.
I use PrestaShop 1.5.6.1 and modified in the file PDFGenerator.php the writePage() function before SetAutoPageBreak.
Any ideas?
Regards,
Christian.