Images don't appear in eCard or eReceipt PDF preview when page is secure

When viewing the PDF preview of an eCard or an eReceipt on a donation form, images will appear as red X's. This only occurs on secure pages using https.
This is resolved in the latest version of NetCommunity. If this behavior is persistent, please confirm you’re on the latest version of NetCommunity.

The use of friendly URL's on images, used in the eCard, will cause the SSL chain to break in the .pdf engine.  
You will need to use the default URL for images, ex. /view.image?Id=1234, if the image will be referenced in a .pdf view on your site.

Or you can suppress the PDF preview link.  To suppress the .pdf preview of the eCard:
  1. On the page with the eCard or Donation Form part page, click Edit Page
  2. Click in any content pane or part, then click New Part
  3. Select Unformatted Text for the Part Type.
  4. Enter a name for the part.
  5. Click Next
  6. Click the HTML button to access the HTML portion of the editor.
  7. Paste the following code into the HTML area of the Unformatted Text part.
    <style type="text/css" >
    
    a[id*='lnkGetPrintablePdf'] { 
    display: none; !important
    }
    
    </style>
  8. Click Save
This newly created Unformatted Text part can be added to any page with an eCard or Donation Form part to suppress the PDF link on that page. To reverse this suppression: cut the Unformatted Text part off the page.

    Environment

     Blackbaud NetCommunity
     6.45
     6.53
     6.53.516 Patch 14 ; 6.45.2034 patch 22 ; 6.35.1001, patch 37
     6.51.721

    Was this article helpful?