Modifying an Image
After you insert a graphic, you can work on it in several ways: Attach a link to the image, align it on the page, or add a border and margin to it, to name a few. Dreamweaver also includes some basic tools that let you crop, resize, optimize, sharpen, and adjust contrast and brightness (see Dreamweaver’s Built-In Editing Tools).
As with most objects on a web page, you set image properties using the Property inspector (see Figure 6-7).
Figure 6-7. The Property inspector shows the selected graphic’s dimensions, source, alignment, border, and margins. To the left of the file size (33K), you see either Image (meaning a regular GIF, PNG, or JPEG file) or PS Image (meaning the image is coming from a Photoshop document).
Adding an ID to an Image
In the Property inspector, just to the right of an image’s thumbnail, you’ll see a small field where you can type in an ID for that image (see Figure 6-7). Most of the time, you’ll leave this field blank.