7.0

6.4 Variable images
The Newsletter document contains a variable image. Based on the customers interest a specific photo is
printed. This document makes use of four different images:
Paris
Barcelona
Amsterdam
Sydney
As stated the images are printed by the holiday preferences of a customer. When a customer visited Paris, a
picture of Paris will be printed. When he visited Sydney, a picture of Sydney is printed. The information comes
from the database field Location. Scroll through the records and you will notice that the variable image will
change.
Connecting variable images to the database information can be done in a few easy steps. We have created an
image box using the Image box tool. This will automatically create a variable called Image 1 (Variables pane).
Double click this variable to open the expression builder. Below you can see how the data of Location field is
used to define the name of the image.
Change the Source option to User Input in the Properties pane
Once you have setup the expression you will need to define the location of the images. Select the image box
in the layout and click the Image folder option in the Properties pane. Browse for the folder containing the
images and click OK.
Objectif Lune Inc. © 2010 31