• Resolved madebymot

    (@madebymot)


    Hi Guys,

    My contact forms have a couple of image upload fields. Would like it if the images were displayed within the pdf and not as extra attachments or the file name listed within the pdf. Is this possible to do?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ZealousWeb

    (@zealopensource)

    Hello @madebymot,

    Thank you for getting in touch. We kindly request you to implement the necessary changes in the code at line number 317. The target file is located at “plugins/generate-pdf-using-contact-form-7/inc/front/class.cf7-pdf-generation.front.action.php.”

    The suggested modification is as follows:

    $filename = 'filename etc';
    $formattedDate = date('d-F-Y');
    $pdf_file_name = $filename.'-'.$formattedDate.'.pdf';

    Should you have any questions or require further assistance, please don’t hesitate to ask. We appreciate your prompt attention to this matter.

    Thank you,
    ZealousWeb

    How can I showcase images in a PDF? Currently, no images are appearing in the PDF document. I’ve included static images using direct media URLs.
    Please see screenshot:
    https://prnt.sc/m_LMzLaDab3F
    https://prnt.sc/mghMY3uMwaYH

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘uploaded images not being inserted into pdf’ is closed to new replies.