Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-12165

Can't embed image in PDF letter

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.4.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      When using the "Print PDF letter for Contacts" action, I tried to add an image that I uploaded via the WYSWYG. When I downloaded the PDF file, in place of the image, it said:

      DOMPDF_ENABLE_REMOTE is set to FALSE

      It's a reasonable default for the library, since it prevents malicious users from inserting untrusted content. However, since we expect only trusted users to be generating PDFs it seems unnecessary. Furthermore, many groups don't have printed letterhead. It's much cheaper to upload their letterhead/logo image to their PDF letters directly and then print.

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              jamie Jamie McClelland
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: