IA: Browser Can't Find File or Display Image

Last reviewed: February 5, 1998
Article ID: Q131211
The information in this article applies to:
  • Microsoft Internet Assistant for Word, versions 1.0, 1.0z
  • Microsoft Word for Windows, versions 6.0a, 6.0c

SYMPTOMS

When 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.

CAUSE

You 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.

RESOLUTION

Save 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 INFORMATION

When you insert an image in an unsaved HTML document, you will receive a warning dialog box titled, Unable to Create Relative Link.

  • If you choose the Continue button, the link is placed in your document as an absolute link.
  • If you choose the Cancel button, you can first save the document and then re-create the link.
  • If you choose to disable this dialog box by selecting "Don't display this message again," you can re-enable it by editing the WORDHTML.INI file (located in your Windows directory). Using a text editor, such as Notepad, change the StopIllegalHREFDisp line in the [MISC], so that it looks like this:

          StopIllegalHREFDisp=0
    


KBCategory: kbusage
KBSubcategory:
Additional query words: 6.0a 6.0c winword 1.0 1.0z iaword internet
assistant file not found unable to locate file picture image hyperlink
ia word6 relative absolute links link unable to create link
Keywords : kbwdinternet
Version : 1.0 1.0z
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.