jpg
TIP TIP
CROSS-REF CROSS-REF
306
Designing and Crafting Core Pages Part II
If you upload Web pages with this file:///C| (file:///Macintosh HD) prefix in place,
the links to your images are broken. It is easy to miss this error during your testing. Because
your local browser can find the referenced image on your system, even when you are browsing the remote
site, the Web page appears perfect. However, anyone else browsing your Web site sees only placeholders for
broken links. To avoid this error, always save your images within your local site.
Dreamweaver also appends the file:///C| prefix (or file:///Macintosh HD in Macintosh) if you
haven??™t yet saved the document in which you are inserting the image. However, when you save the document,
Dreamweaver automatically updates the image addresses to be document-relative.
Relative to Site Root
If you select Site Root in the Relative To field of the Select Image Source dialog box and you are within your
site root folder, Dreamweaver appends a leading forward slash to the directory in the path. The addition of
this slash enables the browser to correctly read the address. Thus, the same logo.jpg file appears in both
the URL text box and the HTML code as follows:
/images/logo.jpg
When you use site-root??“relative addressing and you select a file outside of the site root, the image file is
automatically copied to your Default Images Folder, if one exists.
Pages:
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635