Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Inserting Images with Binding

Level 1
Level 1

I have an image I want to put into a standard issue PDF.  the binding comes from a SQL query and the value is the ID of the record.  We have images that match the values of the ID's so I want that image to display on the form.  normally this is super easy but I am new to LiveCycle and building forms.

any suggestions?

Image url would look like

where 1 is the ID of the record that got pulled

thanks in advance

0 Replies
Level 3
Level 3

Hi ColinMHart,

To insert the image into the PDF you would need to store that image into an XML element which is bound to Image field in your form. BUT the trick is to store that image into the format that PDF is expecting it in. Your image data needs to be in base64 encoded format and then it would be shown in PDF form correctly.


Parth Pandya




I am presenting some tips to generate PDF with LiveCycle Data Services in this video:

I am talking about the encodeImageAsBase64() function.