Place your cursor within the Spry region where you??™d like your image to appear.
2. From the Common category of the Insert bar, choose Images: Image.
3. When the Select Image Source dialog box, change the Select File Name From option to Data
Sources.
4. If necessary, expand the desired data set node.
5. Select the data column that contains the filename of the image.
6. If the images are stored in a folder different from the current page, enter the path to the folder in
the URL field before the inserted code, as shown in Figure 18-7.
FIGURE 18-7
Any connected Spry data set can be accessed through the Select Image Source dialog box.
7. When you??™re done, click OK.
The methods covered so far will allow you to display a single set of data on the page. In the next section,
you??™ll discover how to display all the data by setting up repeating Spry regions.
603
Powering Ajax Pages with Spry 18
Repeating Spry regions
For Spry data regions to be truly effective, all the instances of the chosen data has to be displayed. Spry
offers a number of methods for easily setting up your data to be repeated, including the Spry Repeat and
Spry Repeat List objects. Both of these objects use either the spry:repeat or spry:repeatchildren
attribute, like this: