Working With Dynamic Images

Top Previous Topic Next Topic  Print this topic

A Dynamic Image is an image that is dependent upon your data source in some capacity. Dynamic images are commonly used when designing intelligent document templates. Here are a couple of examples of using dynamic images:

 

1. You have an attribute in your data source that contains a specific image url pointing to an image to be retrieved at runtime. In this case, depending upon the customer the data is pulled for, a specific image is also specified in the data source and used when that data source is rendered with the template.

 

2. You are producing statements for ten clients each with their own logos. You wish to use the same template to produce them so you do not need to design ten different templates. You can set up the conditional test on the data source to determine which client document is being produced and insert the appropriate image.

 

There are two primary options for configuring a Dynamic Image, and you can learn about these options using the following links:

 

Using an Image From a Data Source - Learn how to include an image file path or obtain image bytes directly from your data source.

Conditionally Choosing an Image - Learn how to set up conditional tests on your data source to determine the image to use.