• Resolved figari

    (@figari)


    Hi, does anyone know if there is a way to insert an image into the invoice’s background ?
    Thanks
    Thierry

Viewing 1 replies (of 1 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi Thierry,
    You can do this, but it requires you to create a custom template – this is not possible from the settings.
    Follow all instructions from the documentation.
    Next, open the ‘html-document-wrapper.php’ file, and insert this:

    
    <img src="https://yoursite.com/watermark.jpg" style="z-index:-999;position:fixed; top: 10cm; left: 5cm; width: 10cm;">
    

    just before:

    
    <?php echo $wpo_wcpdf->export->output_body; ?>
    

    Adjust the left, top and width values to your preferences ??

    If the image can’t be found, you can try server paths instead, check the documentation here:
    Inserting images

    Hope that helps!
    Ewout

Viewing 1 replies (of 1 total)
  • The topic ‘Invoice image background’ is closed to new replies.