Microsoft KB Archive/289319

= STS: Images Are Not Displayed After You Move HTML Pages Between Web Folders =

Article ID: 289319

Article Last Modified on 8/6/2002

-

APPLIES TO


 * Microsoft SharePoint Team Services

-



This article was previously published under Q289319





SYMPTOMS
When you save a Microsoft Office document as a Web page to a SharePoint Team Services document library and then move the file, the page appears incomplete. Only the basic structure of the page is displayed; elements such as headers and images are missing.



CAUSE
This behavior occurs only with HTML pages. The Office programs create a separate folder that contains the embedded objects and images. The folder is named _Files, where   is the name that the file is saved as. When the page is initially saved to the SharePoint Team Services document library folder, the _Files folder is saved in the same directory as the HTML page. When you move the file from the server, any image paths pointing to the _Files folder are not updated.

In other words, the HTML code directs the browser to specify images in a specific location. If either the file or the folder is moved, the information is no longer valid. This prevents the images from being displayed.



WORKAROUND
To work around this issue, use one of the following methods.
 * Save the page in the Office program's native format or the MIME-HTML (.mht) format.

When you save an Office document in either of these formats, the objects are embedded into the file. When the file is moved, the images are contained within the file, so they are moved as well.
 * Open the file in the program that created it, and then save it to the new SharePoint team Web site. This creates a new _Files directory on the new server for the file. To do this, follow these steps:


 * Browse to the SharePoint Team Services document library in which the file was initially saved.
 * Click the Edit icon next to the file name.
 * Click the Edit in Microsoft  link at the top of the page.
 * On the File menu, click Save as web page.
 * Browse to the second document library, and then save the page.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Additional query words: prb front page

Keywords: kbbug kbnofix KB289319

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.