Previous Next

How to insert a linked image

1  
Drag the image element from the palette, and drop it in the desired location on the page. Edit Image Item appears, as shown in Figure 5-2.

Figure 5-3 Edit Image Item dialog

Figure 5-2  Edit Image Item dialog
2  
1  
2  
3  
4  
3  
To link to images for which URIs are stored in a database, use the following procedure. The procedure assumes you have already created a data set that includes the field, which stores the URIs to the images.
1  

2  
3  
In the expression builder, select the data set field that stores the locations of the images, then choose OK. Figure 5-3 shows an example of selecting a data set field named URL, which stores the URLs to images.

Figure 5-4 The expression builder showing a selected data set field that stores the URLs to images

Figure 5-3  The expression builder showing a selected data set field that stores the URLs to images
In Edit Image Item, Enter URI displays the expression that refers to the data set field.
4  
4  
1  
2  
o  
To type a specific URL, choose the arrow button next to the expression builder button, and choose Constant. Type the URL.
The following is an example of a URL for a file in a remote location:
  http://mysite.com/images/companylogo.jpg
The following is an example of a URI for a file that is on the local file system:
  file:///c:/myprojects/images/companylogo.jpg
Specify a local file system location only for testing in the early stages of report development. A deployed report cannot access resources on a local machine.
o  
To specify an expression that evaluates to a URL at report run time, choose the expression builder button to construct the expression.
3  

(c) Copyright Actuate Corporation 2011