This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How can I open a Firefox HTML Document as an image instead of text?

  • 2 replies
  • 1 has this problem
  • 5 views
  • Last reply by cor-el

more options

I'm trying to open some images that are displayed as simply Firefox logos, though I'm certain that they're pictures. All of them are "Firefox HTML Documents." I know they open web pages, because one such file in another folder correctly shown the web page with the image. But these images open a new tab with a unicode representation of the data, almost always containing a section in between brackets consisting only of +'s, -'s, and commas. Chrome HTML Documents display correctly in file explorer, but Firefox ones don't. Is there a way to see these images?

I'm trying to open some images that are displayed as simply Firefox logos, though I'm certain that they're pictures. All of them are "Firefox HTML Documents." I know they open web pages, because one such file in another folder correctly shown the web page with the image. But these images open a new tab with a unicode representation of the data, almost always containing a section in between brackets consisting only of +'s, -'s, and commas. Chrome HTML Documents display correctly in file explorer, but Firefox ones don't. Is there a way to see these images?

All Replies (2)

more options

EDIT: after looking around a bit longer, it appears that there are no commas in the bracket section, but rather forward slashes and a few symbols. The majority does seem to be hyphens. Aside from that, files often starts with things like ÿØÿà?JFIF????ÿá*ExifII*??1????GoogleÿÛ„, ‰PNG ? IHDR, ÿØÿà?JFIF????ÿ, and ÿØÿà?JFIF???``ÿþ;CREATOR: gd-jpeg v1.0 (using IJG JPEG v80), quality = 92. Some, like the CREATOR one, contain logically placed text, like sections of the alphabet, variations of the same letter with different accents, all in upper-, followed by the same in lowercase. I think it might be solvable by adding affixes to the file data or using a web tool, but I'd have no idea which one.

more options

ÿØÿà?JFIF is the standard JPG file header.

So it is possible that all you need is to rename these files and give it the correct file extension for an image file like .jpg or .png depending on what image type it is.