You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to add Images from URL dynamically based on PO in RTF template as PDF output.?

I am seeking guidance on a requirement to dynamically render images from URLs onto an RTF template for PDF output. I have attempted the following methods:

  1. URL Tagging: Incorporated the image URL directly into the RTF file using the tag <?url:{IMAGE_URL}?>.
  2. AltText Configuration: Added the image URL in the "AltText" field formatted as url:{'https:....'}, and attempted to generate the images in both PDF and HTML outputs.
  3. Base64 Encoding: Converted the image URL to Base64 format and used the <fo:instream-foreign-object content_type="image/jpg" height="2 in" width="2 in"><?IMAGE_URL?></fo:instream-foreign-object> tag.

Despite these efforts, none of the approaches resulted in images being displayed in the HTML or PDF outputs. I would appreciate any recommendations or solutions that could facilitate the dynamic printing of images from URLs onto a PDF output.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!