X
Tryk her for at gå til webstedets mobilversion.

Supportforum

When I upload an image, Firefox does not show jpg in Windows Explorer dialogue

Skrevet

When a web interface offers image upload options, Firefox 70.0.1 on Windows 10 does not offer up any regular jpg or jpeg file extensions. All I get by default is that weird jfif format, together with png. What's that all about, and how can I fix it?

Image uploads work fine if I choose to display "all files", but something's amiss with the filtering there.

On a related note, Firefox used to save regular jpg images in its own Save Image As dialogue as jfif files too. I had to teach it to do this in jpg instead. Might be a related issue?

When a web interface offers image upload options, Firefox 70.0.1 on Windows 10 does not offer up any regular jpg or jpeg file extensions. All I get by default is that weird jfif format, together with png. What's that all about, and how can I fix it? Image uploads work fine if I choose to display "all files", but something's amiss with the filtering there. On a related note, Firefox used to save regular jpg images in its own Save Image As dialogue as jfif files too. I had to teach it to do this in jpg instead. Might be a related issue?
Vedhæftede skærmbilleder
Citér
cor-el
  • Top 10 Contributor
  • Moderator
17537 løsninger 158575 svar

This could be a problem with the Windows Registry.

You can inspect the MIME database key with the registry editor (regedit.exe) and do a search for that MIME type (file extension) via Ctrl+F. Be cautious with editing the registry as there is NO UNDO possible: all changes are applied immediately. You can export key(s) in the registry editor before making changes. You can check specific file extension keys (e.g. .jpg) in the registry with the registry editor.

  • HKEY_CLASSES_ROOT\.xxx

You can check a possibly linked MIME type in the MIME Database registry key.

  • HKEY_CLASSES_ROOT\MIME\Database\Content Type\
This could be a problem with the Windows Registry. You can inspect the MIME database key with the registry editor (regedit.exe) and do a search for that MIME type (file extension) via Ctrl+F. Be cautious with editing the registry as there is NO UNDO possible: all changes are applied immediately. You can export key(s) in the registry editor before making changes. You can check specific file extension keys (e.g. .jpg) in the registry with the registry editor. * HKEY_CLASSES_ROOT\.xxx You can check a possibly linked MIME type in the MIME Database registry key. * HKEY_CLASSES_ROOT\MIME\Database\Content Type\
Fandt du dette nyttigt?
Citér

Spørgsmålsstiller

Thanks co-rel, I've had a look at the registry editor, but I don't know enough about it. There is an entry for .jpg and another one for .jpeg, and the entries look the same for .jfif. I'm assuming that's set correctly, since Windows itself recognizes .jpg files as images and opens the appropriate tool. So does Internet Exploder.

Firefox however does not, so I'm wondering if the problem lies with it, rather than Windows. Please check the attached image and let me know if the entry I have for .jpg is correctly associated.

The only time I've played with it was when I setup Firefox to never save images as .jfif. Lucky for us I took some notes on how I did it here: https://wpguru.co.uk/2019/06/how-to-switch-from-jfif-to-jpeg-on-drag-and-drop-in-windows-10/

Thanks co-rel, I've had a look at the registry editor, but I don't know enough about it. There is an entry for .jpg and another one for .jpeg, and the entries look the same for .jfif. I'm assuming that's set correctly, since Windows itself recognizes .jpg files as images and opens the appropriate tool. So does Internet Exploder. Firefox however does not, so I'm wondering if the problem lies with it, rather than Windows. Please check the attached image and let me know if the entry I have for .jpg is correctly associated. The only time I've played with it was when I setup Firefox to never save images as .jfif. Lucky for us I took some notes on how I did it here: https://wpguru.co.uk/2019/06/how-to-switch-from-jfif-to-jpeg-on-drag-and-drop-in-windows-10/
Fandt du dette nyttigt?
Citér
cor-el
  • Top 10 Contributor
  • Moderator
17537 løsninger 158575 svar

Did you search the MIME database entry for content-type image/jpeg to check what file extension is set there like I posted above and that is also mentioned in the article you linked ?

  • HKEY_CLASSES_ROOT\MIME\Database\Content Type\
Did you search the MIME database entry for content-type image/jpeg to check what file extension is set there like I posted above and that is also mentioned in the article you linked ? *HKEY_CLASSES_ROOT\MIME\Database\Content Type\
Fandt du dette nyttigt?
Citér
Stil et spørgsmål

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.