Know something we should know? E-mail us your tips! We respect anonymity. »
Fixing the Firefox 3 JFIF problem
  • 5 Comments
by John Biggs on March 21, 2008

scaledflarp11.jpg
Click to see full-sized image.

Not sure what purpose it serves, but Firefox 3 on OS X changes the names of jpg files to jfif, which is the umbrella filetype for JPEG encoded files. As a blogger and collector of pornography involving goats and fish, I find this very problematic. You can, however, create an Automator task to fix your JFIF files on the fly. I’ve attached it to a downloads folder and it seems to work fairly well.

1. Open Automator and choose Custom.

2. Type “rename” into the search box.

3. Drag “Rename Finder Items” into the grey area to the right. Choose “Don’t Add” to the prompt that appears.

4. Change the first drop down box to “Replace Text”.

5. In the Find box type in “.jfif” and in the Replace box type in “.jpg”. Make sure the Ignore Case box is checked.

6. Click on the File menu and choose Save as Plug-in… Type in “JFIF to JPEG” and make sure the Finder option is chosen in the drop down box.

Now whenever you need to change a bunch of images to .jpeg, just select them in the Finder, right click, choose “More”, choose “Automator”, and click on “JFIF to JPEG.”

I have it set as a folder action, but you can also add it to your right click menu. Either way works.

How to Fix the JFIF Bug in Firefox 3 Beta [Wired]

Comments rss icon

  • You can also just right click on the image, select get info and change the extension to jpg. Maybe this is only good for a few goats at a time and not a herd, but it has worked for me. On the mozilla message boards and forums they say this will be fixed once out of beta, or at least that is what people are hoping for.

  • There’s no purpose to it, it was just a bug because OS X’s Internet Services told us that should be the extension for the JPEG mime type, and for security reasons we can’t use the extension provided by the site. One of our developers dug into the undocumented APIs used by WebKit, though, and found that there’s a framework API that gives us the “preferred” extension, so this bug’s fix is committed and will be in beta 5.

  • Its resolved in the beta 4.

  • You are rigth. Its not working.

Leave Comment

Commenting Options

Enter your personal information to the left, or sign in with your Facebook account by clicking the button below.

Alternatively, you can create an avatar that will appear whenever you leave a comment on a Gravatar-enabled blog.

bugbugbug