For images to appear in a Dreamweaver document, the image files must be within a defined local site. If you choose a file outside a local site, Dreamweaver will ask if you want the file copied to a folder within the local site. See Creating a local site.
If you specify a path for a source file outside the local root folder, Dreamweaver displays a placeholder for the image.
To insert an image:
1 | Do one of the following: |
![]() |
Place the cursor where you want the image to appear on the page and then choose Insert > Image or click the Insert Image button on the Common panel of the Object palette. |
![]() |
Drag the Insert Image button from the Object palette to the desired location on the page. |
![]() |
Drag an image from the desktop to the desired location on the page; then skip to step 3. |
2 | In the dialog box that appears, type the path for the source file or click Browse to choose a file. |
See About relative and absolute paths for more information on specifying pathnames. | |
To prevent this dialog box from appearing, turn off Show Dialog When Inserting Objects in General preferences. | |
Note: Content linked via a root-relative path does not appear when you preview local files in a browser, because browsers aren't responsible for recognizing site roots—servers are. To preview content linked with root-relative paths, put the file on a remote server to view the page in a browser. See also About relative and absolute paths. | |
3 | Set image properties in the Property inspector. |
See Image properties. | |
![]() |