Adding Images
Much of the visual interest in Web pages is provided by images, and Dreamweaver makes it easy to add images to your pages. For much more information about adding images, sound, or movie files to your pages, see Chapter 8.
To add an image to your page:
- In your document, click where you want the image to appear.
- In the Common category of the Insert Bar, click the Image button (
Figure 3.19
).
Figure 3.19 To add an image to your page, click the Image button in the Common category of the Insert Bar.
Figure 3.20 The Select Image Source dialog lets you pick an image, and shows you a preview of it as well.
- Navigate to the image file you want, and select it. Dreamweaver shows you a preview of the image in the Select Image Source dialog.
- Click OK (Choose).
If the image is not inside the /images directory of your local root folder, Dreamweaver copies the image to that location. Dreamweaver next displays the Image Tag Accessibility Attributes dialog (
Figure 3.21
).
Figure 3.21 Use this dialog to enter the alternate text for an image.
- (Optional, but strongly recommended) Enter the Alternate text for the image. Alternate text is text attached to the image for use by screen readers for the visually impaired, or for people who are browsing with images turned off.
- Click OK.
The image appears in your document (
Figure 3.22
).
Figure 3.22 The image appears on the page at the insertion point.