Hyperlink type images already include the HTML code for a link. That won??™t work in Dreamweaver.
It is also possible to use document-relative pathnames in image fields of the database. However, you have to
be careful which pages the dynamic images are inserted into; the pages must be stored in the proper location
relative to the path of the images.
Perhaps the best course of action is to store just the filenames of the images themselves in the data source.
When the dynamic image is inserted into Dreamweaver, additional path information can be added as
needed. For example, suppose the image field contained only filenames with no path information, such as
w_wonder.gif in a field named images of a recordset rsProducts. Here??™s an example of how that
code would be generated by Dreamweaver for ASP:
<%=(rsProducts.Fields.Item(???images???).Value)%>
In Dreamweaver you can preface that code??”either when it is inserted or through the Property inspector??”
with any necessary path information. If my document is at the site root and the images are stored in the
/images/products folder, I adjust the code like this:
images/products/<%=(rsProducts.Fields.Item(???images???).Value)%>
After your data source is correctly set up for images, inserting them in Dreamweaver is very straightforward,
as shown in the following steps:
1.
Pages:
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207