Microsoft KB Archive/151552

= FP1: Unable to Load Images Imported from Internet Assistant =

Article ID: Q151552

The information in this article applies to:


 * Microsoft FrontPage versions 1.0, 1.1

SYMPTOMS
In FrontPage, when you import a page that was created in Internet Assistant for Word or Internet Assistant for PowerPoint, images on the page may not be loaded properly.

This behavior does not occur in FrontPage 97. In FrontPage 97, FrontPage Explorer imports images directly to the root folder of the Web.

CAUSE
An HTML page created using Internet Assistant for Word or Internet Assistant for PowerPoint uses relative references to associated images. By default, the page refers to images in the folder (directory) where the pages are located.

When a page is imported to FrontPage, the page is stored in the folder of the open Web, while the associated images are stored in a subfolder of this Web called "images." For example, if an HTML page and an image are imported to a Web called "MyWeb," the HTML page is stored in the "MyWeb" folder, while the image is stored in the "MyWeb\images" folder. Because the images are not in the same folder as the HTML pages, the images are not loaded correctly.

RESOLUTION
To work around this problem, use either of the following methods.

Method 1: Move the Images and Recalculate Links
1. Create your page using Internet Assistant for Word or Internet Assistant

for PowerPoint. 2. Import the HTML page and images to your Web using FrontPage Explorer.

3. From Windows Explorer (Windows 95) or File Manager (Windows NT), move

the images from the Images folder to the folder for that Web.

For example, if the Web you imported the page to is "MyWeb," move the images from the "MyWeb\images" folder to the "MyWeb" folder. 4. Return to FrontPage Explorer and recalculate links.

Method 2: Modify the Image Tags and Import the HTML Pages and Images
1. Create the pages using Internet Assistant for Word or Internet Assistant

for PowerPoint. 2. Open the HTML pages using a standard text editor, such as Notepad.

3. Locate each of the tags that refer to an image. Modify the tag by adding

"images/" to the beginning of the relative reference.

For example, if you had an image tag , change it  to . 4. Save the modified page.

5. Import the HTML pages and images into your Web using FrontPage

Explorer. Additional query words:

Keywords         : kbinterop kbusage kbdta Version          : windows:1.0,1.1 Platform         : WINDOWS Hardware         : x86 Issue type       : kbprb