Previous Next

Laying Out a Report : How to insert images that are stored in a data source

How to insert images that are stored in a data source

1
2
3
Bind the table to the data set in the following manner:
1
2
On the Binding page, in Data Set, choose the data set that contains the image field. BIRT creates a column binding for each field in the data set.
4
5
6
Choose Select Image Data. Select Data Binding displays the column bindings available to the image element, as shown in Figure 5‑5. The image element has access to all the column bindings defined for the table, its container.

Figure 5-6 Select Data Binding showing column bindings

Figure 5-5
7
On New Image Item, under Enter dynamic image expression, an expression that refers to the selected column binding appears, as shown in Figure 5‑6.

Figure 5-7 New Image Item showing the dynamic image expression

Figure 5-6

8
Choose Insert. The image element appears on the page in the layout editor. It shows an X. The actual images appear only when you preview the report.


(c) Copyright Actuate Corporation 2008