• Resolved stewartmedia

    (@stewartmedia)


    I’ve selected my website logo to use as the image header on the PDF and it shows in the editor, but there is a broken image icon in the preview and on the generated PDF.

    Please can you help?

    Thanks very much

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Florent Maillefaud

    (@florent73)

    Hi!

    Can I have URL site please ?

    Thanks

    Thread Starter stewartmedia

    (@stewartmedia)

    Hi Florent,

    The site is in development, so providing a link would only show you a holding page. Can I send you the login details so you can take a look, please?

    Thanks

    Plugin Author Florent Maillefaud

    (@florent73)

    Yes!

    Contact me here : https://wpmaintenance.info/contactez-moi/

    Thanks

    Hi Florent,

    same issues here, no images/logo are displaying.

    Solution: Embed the Image(s) in the HTML markup.

    While I still have not gotten as far as testing it end to end, it does work as far as putting the image in the proper place in the PDF Preview screen.

    In my case I did not even try using the provided form to insert an image because I was pretty certain I wanted more control over where it was placed.

    So what works for me is the following in the HTML markup:

    <div class=”page-container”>
    <div class=”page-header” style=”margin:0;”>
    <div style=”float: left;width: 20%;”> </div>
    <div style=”float: left;width: 80%;text-align: center;font-size: 25px;font-weight: 700; margin-top: 50px;”><p> <br>EMS Road Docs of Illinois<br>RELEASE and WAIVER of LIABILITY</p></div>
    </div>
    </div>

    I still have some tweaking to do with that, as this plug-in does not appear to recognize some of the CSS I have above even though the documentation for mPDF suggests that it is indeed supported.

    Plugin Author Florent Maillefaud

    (@florent73)

    Hi!

    I am sorry but by testing my extension on all my test websites, the logo is displayed well.

    Please check the dimensions of the logo and the URL.

    can you provide me/us with the dimension that are working for you, so I can replicate this.

    Thank you,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Image header not working’ is closed to new replies.