PUB97: Publish as HTML Creates Multiple Copies of the Same Image (172010)



The information in this article applies to:

  • Microsoft Publisher 97

This article was previously published under Q172010

SYMPTOMS

When you save a publication that contains multiple copies of the same graphic or object in HyperText Markup Language (HTML) format, a unique GIF image is saved for each copy of the object in your publication. There is presently no way to tell Publisher not to save multiple copies of the same image when you save page as HTML.

CAUSE

When Publisher 97 exports your page as an HTML file, each object is saved as a GIF image. If you have multiple copies of an image, such as a graphic that represents a bullet, then Publisher will save a unique GIF image for each copy of that graphic. Publisher does not detect whether an object has the same pixel pattern as any previously saved object. If Publisher were to compare the pixel patterns of each object being saved, there could be a significant slowdown of the conversion process while your Publication is being saved as HTML.

RESOLUTION

If your web page contains multiple copies of the same graphic, for example Img0.gif, Img1.gif, and Img2.gif, modify the HTML source code to point to a single copy of this graphic and discard the remaining image files. This may help speed up the time it takes to download your web page since only one copy of the graphic will need to be downloaded. To modify the HTML source code, use an HTML editor, such as Microsoft FrontPage, or use a text editor such as Notepad.

NOTE: You cannot use Microsoft Publisher to edit an HTML document. Microsoft Technical Support Engineers for Publisher cannot teach you to edit HTML documents.

Modification Type:MinorLast Reviewed:8/17/2005
Keywords:kbhtml kbprb KB172010