Using images in emails and PDF's
I need to embed images in emails and in PDF's. How do you do this?
Embedding in emails: I've tried using pega:contentURL tags with and without using enforceAbsoluteURL. I've tried associating the Image Content rule with a RuleSet and not associating with no difference. I can get it to show up in Outlook if I select to download the image in the email but doing the same in Gmail doesn't work. Searching the web I came across this article. It looks like I need to embed the image. How would I get the base64 value of the image in order to embed in the HTML source?
There is a related thread that's unresolved on the PDN Forums.
I need to embed images in emails and in PDF's. How do you do this?
Embedding in emails: I've tried using pega:contentURL tags with and without using enforceAbsoluteURL. I've tried associating the Image Content rule with a RuleSet and not associating with no difference. I can get it to show up in Outlook if I select to download the image in the email but doing the same in Gmail doesn't work. Searching the web I came across this article. It looks like I need to embed the image. How would I get the base64 value of the image in order to embed in the HTML source?
There is a related thread that's unresolved on the PDN Forums.
Embedding in PDF's: Tried the same things from above with no luck. No image is ever shown in the PDF. I'm using a specialized version of HTMLToPDF but the OOTB version also does not embed the image. Might be related to Pega bug fixed in 7.1.7 (I'm on 7.1.6).
Any suggestions on how to get around these issues?
***Updated by moderator: Lochan to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.