• Resolved gtm1ldy

    (@gtm1ldy)


    Hello again,

    Created a new approval form and am having another issue.

    Viewing the PDF in a web browser with &html=1 at the end of the link looks perfect however, when emailed the pdf is two pages. The first being the background image, the second being the content.

    Here is the template. The background image is a full image with placeholders for the values.

    <div id=”background”>
    <div id=”form_img”><img src=”<?php echo $imagepath; ?>form_img.png”></div>
    <div id=”ContractorBusinessName”><?php echo $business_name; ?> </div>
    <div id=”ContactName”><?php echo $contact_fname.” “.$contact_lname; ?></div>
    <div id=”EmailAddress”><?php echo $contact_email; ?></div>
    <div id=”IDNUMBER”><?php echo $abc_ID; ?></div>
    </div>

    Do you have a suggestion to help me move forward here?

    Thank you SO much!

    https://wordpress.org/plugins/gravity-forms-pdf-extended/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter gtm1ldy

    (@gtm1ldy)

    Please disregard this ticket. After looking at the developer docs, only some CSS is available in PDF format.

    Thanks though!

    Plugin Author Jake Jackson

    (@blue-liquid-designs)

    No problem.

    You can try add the image as a background-image to body or @page using CSS to get a similar result.

    You can then absolute position your other elements, provided they are direct child then of the body tag (and not children of your #background tag.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HTML PDF vs Email Attachment Issue’ is closed to new replies.