This How To gives you some general information on how to insert images into your webpages using Dreamweaver v4 and CS3. Other versions of Dreamweaver may be able to use this How To also.
Dreamweaver, like most browsers, can display both JPEG and GIF images. Dreamweaver, Internet Explorer and Firefox also support PNG images. In general, JPEG is the superior format for photographic or continuous-tone images, and GIF is preferred for noncontiguous tone images or those with large areas of flat colors. The PNG format is a patent-free replacement for GIF that includes support for indexed-color, grayscale, and true-color images. It also provides alpha channel support for transparency. PNG is the native file format of Macromedia Fireworks.
For more information on using Dreamweaver, refer to Dreamweaver's Help Pages and IT's other How To's.
Note: For images to appear in a Dreamweaver document, the image file must be saved within a defined local site.
Note: Image (name) is the most critical property that should be entered each time you insert an image. It helps identify the image for people that use card readers.
When an image is selected, choose from the following properties in the Property inspector:
Image (name)
Lets you name the image so you can refer to it with a scripting language, such as JavaScript or VBScript.
W and H
Reserve space for the image on the page as the page is loading. Dreamweaver enters the image's original size automatically.
Src
Specifies the source file for the image.
Link
Specifies a hyperlink for the image.
Align
Aligns an image and text on the same line. See Aligning elements.
Alt
Specifies alternative text that appears in place of the image for text-only browsers or for browsers that have been set to download images manually.
V Space and H Space
Add space, in pixels, around the top and bottom, and left and right of the image, respectively.
Low Src
Specifies the image that should load before the main image. Many designers use a 2-bit (black and white) version of the main image because it loads quickly and gives visitors an idea of what they're waiting for, but you can use any image with the same dimensions as the main image.
Border
Sets the width of the link border around the image in pixels. Enter 0 for no border.
Map
Enables you to create client-side image maps. See Creating image maps
Refresh
Resets the W and H values to the original size of the image.
Edit
Launches the image editor you specified in External Editors preferences and opens the selected image. When you save your image file and return to Dreamweaver, Dreamweaver updates the Document window with the edited image.
When an image is selected, choose from the following properties in the Property inspector:
Browser default
Depends on the browser, but generally specifies a baseline alignment.
Baseline and Bottom
Align the text baseline to the bottom of the object.
Absolute bottom
Aligns the absolute bottom of the text, including descenders (as in the letter "g") with the bottom of the object.
Top
Aligns the top of the tallest character in the text line with the top of the object.
Text top
Aligns the tallest character in the text line with the top of the object.
Middle
Aligns the text baseline with the middle of the object.
Absolute middle
Aligns the middle of the object with the middle of the text.
Left
Places the object on the left margin, wrapping text around it to the right. If left-aligned text precedes the object on the line, it generally forces left-aligned objects to wrap to a new line. Any text following the object on the line then wraps to the former line, appearing above the object.
Right
Places the object on the right margin, wrapping text around the object to the left. If right-aligned text precedes the object on the line, it generally forces right-aligned objects to wrap to a new line. Any text following the object on the line then wraps to the former line, appearing above the object.