SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1196 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

Make sure that you define a recordset with at least one field consisting of paths to graphics.
2. Position your cursor where you want your dynamic image to appear.
3. From the Common category of the Insert bar, select Insert Image.
Alternatively, you can drag the Insert Image button to the proper place on the page. In either case,
the Select Image Source dialog box appears.
4. From the Select Image Source dialog, Windows users should choose the Select File Name From
Data Sources option at the top of the page. Macintosh users should click the Data Sources button
found just below the URL field.
If necessary, expand the data source to locate and select the desired image field, as shown in
Figure 20-6. Dreamweaver places the code for inserting the dynamic image into the URL field.
5. If your image data (the paths to the images) contains spaces, tildes, or other nonstandard characters,
the data must be encoded properly to be read by the server. From the Format List, select
Encode??”Server.HTMLEncode (ASP); Encode??”HTMLEncodedFormat (.NET); Encode??”
URLEncoded Format (ColdFusion); or Encode??”Response.EncodeURL (JSP).
6. If your data is stored as filenames only, enter any required path in the URL field before the existing
code. The path information may be document-relative, site-root-relative, or absolute.


Pages:
1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208