IA: Browser Can't Find File or Display ImageLast reviewed: February 5, 1998Article ID: Q131211 |
The information in this article applies to:
SYMPTOMSWhen using a Web browser to view an HTML document that contains images or links, you may get a "File Not Found" error or a substitute image indicating that your image cannot be displayed.
CAUSEYou are using absolute references for your links and images. Absolute paths are created when you insert an image or create a hyperlink in an HTML document that has not been saved prior to inserting the image or link. An absolute path looks like this:
<IMG SRC="LOCAL:C:/WINWORD/IMAGES/BIGLOGO.GIF">Absolute references are useful if you are creating a local web of documents. However, when you post a document that contains absolute references to the Web, the links are meaningless. The only valid hyperlinks in Web documents are URLs or relative links.
RESOLUTIONSave the document before inserting the link. Then, when you insert an image, the image will be inserted using a relative path, and the Browser application will be able to locate the image. A relative path looks like this:
<IMG SRC="../WINWORD/IMAGES/BIGLOGO.GIF"> MORE INFORMATIONWhen you insert an image in an unsaved HTML document, you will receive a warning dialog box titled, Unable to Create Relative Link.
|
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |