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 624 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

If your site does not have a Default Images
Folder, you get a reminder from Dreamweaver about copying the file into your local site root folder??”just
as with document-relative addressing.
CAUTION CAUTION
307
Inserting Images 9
Making Images Dynamic
Once you??™re familiar with creating data source connections and establishing recordsets in Dreamweaver,
you can display images dynamically. Dreamweaver doesn??™t actually insert images from a database, but
rather inserts the path and filenames of the images??”right into the src attribute of the tag.
The data contained in the field can consist of just a filename, like logo.gif, or a path and filename, like
/images/logo.gif. Under most circumstances, it??™s better to have just the filename; this structure provides
the most flexibility because the path to the file can be added by Dreamweaver.
Follow these steps to include an image dynamically:
1. Make sure you have defined 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, click Image. Alternatively, you can drag the Image
button to the proper place on the page. In either case, the Select Image Source dialog box
appears.


Pages:
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636