Previous TopicNext Topic


How to insert images that are stored in a data source

  1. In Data Explorer, create a data set that includes the image field.
  2. In the layout editor, insert a table element on the page.
  3. Bind the table to the data set:
    1. Select the table and, in Property Editor, choose Binding.
    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. Drag the image element from the palette, and drop it in the detail row of the table.
  5. On New Image Item, select Dynamic image.
  6. Choose Select Image Data. Select Data Binding displays the column bindings available to the image element, as shown in Figure 5-7. The image element has access to all the column bindings defined for the table, its container.
  7. Figure 5-6 Select Data Binding, showing column bindings

  8. Select the column binding that references the image field by clicking the check box next to the column binding. Choose OK.
  9. On New Image Item, under Enter dynamic image expression, an expression that refers to the selected column binding appears, as shown in Figure 5-8.

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

    Figure 5-8 New Image Item, showing the dynamic image expression

  10. 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 2006

Previous TopicNext Topic