The .jpg and .gif files are not displayed correctly when you view a Web page that contains these types of images in FrontPage 2000 (307239)



The information in this article applies to:

  • Microsoft FrontPage 2000

This article was previously published under Q307239
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

When you are trying to view a Web page with Joint Photographic Experts Group (JPG) or Graphics Interchange Format (GIF) images, the images may not be displayed correctly. Instead, they appear as boxes with a large red X. This issue can occur in Microsoft FrontPage and in Microsoft Internet Explorer.

CAUSE

This issue can occur if the values of the registry keys HKEY_CLASSES_ROOT\.gif\Content Type or HKEY_CLASSES_ROOT\.jpg\Content Type are set incorrectly. For example, the value image/bmp can cause this issue.

RESOLUTION

To resolve this issue, use one of the following methods.

Method 1

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
  1. Quit Internet Explorer, if it is running.
  2. Click Start, and then click Run.
  3. In the Open box, type Regedit, and then press ENTER.
  4. Locate and click the following registry key:

    HKEY_CLASSES_ROOT\.gif

  5. Double-click the Content Type value in the right pane of the Registry Editor.
  6. In the Edit String dialog box, type image/gif in the Value Data box, and then click OK.
  7. Locate and click the following registry key:

    HKEY_CLASSES_ROOT\.jpg

  8. Double-click the Content Type value in the right pane of the Registry Editor.
  9. In the Edit String dialog box, type image/jpg in the Value Data box, and then click OK.
  10. Quit the Registry Editor.
  11. Start Internet Explorer and open any Web page with a JPG or a GIF image.

    The images are displayed correctly.

Method 2

Another way to resolve this issue is to upgrade your version of Internet Explorer. For the newest version of Internet Explorer, see the following Microsoft Web site:

MORE INFORMATION

This issue does not affect the way that images are displayed in Netscape.

Modification Type:MinorLast Reviewed:1/7/2006
Keywords:kbregistration kbWebBrowser kbprb KB307239