7.6

Table Of Contents
2. Press CTRL+SPACE.
Dynamic Images
PlanetPress Talk Expressions for Dynamic Images that Reference
Image Resources
What do I need to know to construct a PlanetPress Talk expression for a dynamic image that references image resources?
What are some examples of these expressions?
You must be able to construct a PlanetPress Talk expression that resolves to the name of an image resource. In the simplest
case, the name of the image resource exists in the input data, and the PlanetPress Talk expression you construct contains a sin-
gle data selection command. For example, if columns 1 through 15 of the first line of each data page contain the name of the
image resource, you would enter the following PlanetPress Talk expression in the Image box.
=@(1,1,15)
If the input data does not contain the complete name of the image resource, in a single location, but you can construct the
name using more than one data selection, you construct an expression that contains the necessary number of data selections,
concatenated to form a single string.
If the input data contains only part of the name of the image resources, and the missing part is the same for all image
resources, you can construct an expression that takes the part of the name in the input data and concatenates the missing
part. For example, imagine a situation in which the name of each of the image resources begins with a country code that is the
same for all of the image resources, and that the country code is missing in the names in the input data. You could construct a
PlanetPress Talk expression that takes the name of image from the input data and adds the country code as a prefix. So the
final expression might be
='c10' + @(2,1,22)
where c10 is the country code, and the name of the image resource appears in columns 1 through 22 of the second line of each
data page.
If you cannot construct an expression that resolves to the names of the image resources you want the dynamic image to ref-
erence, two alternatives are to rename the image resources in the document so they match the names in the input data, or to
adjust the names of the images in the input data. In the first case, the number of image resources the dynamic image ref-
erences may determine whether this is a realistic solution. In the second case the adjustment may require altering the source
from which you generate the input data, and may or may not be a feasible solution.
©2010 Objectif Lune Inc - 209 -