Events Made Easy Forums How do I … How do I add a letterhead to PDF?

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #64742
    ULinn
    Participant

    Hi there,
    I would like to send PDF-Tickets and use my usual letterhead in the PDF. Is there any way to add a fullsize A4 graphic (.jpg / .png or even .svg?) with our Logo etc. to the PDF’s Background?
    Glad if anyone could confirme if – and how – this is possible.
    Best regards
    Uli

    #64743
    Franky
    Keymaster

    EME uses dompdf to render html into pdf, so I assume a css-style with this might help:

    
    <style>
        body {
            background-image: url(wp-content/uploads/2016/04/myImage.jpg);
        }
    </style>
    

    The problem is that EME currently doesn’t allow a seperate stylesheet (just eme.css) for pdf rendering, I could change that … currently try to include this in the body (but unsure if that will work)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.