Fixing the Firefox 3 JFIF problem

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]

  •   

5 Comments so far

 
no image
magellan (Who am I?)

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.

 
no image
Mike Shaver (Who am I?)

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.

 
no image
Pablo (Who am I?)

Its resolved in the beta 4.

 
no image
Mibrilane (Who am I?)

No, it isn’t… at least not for me.

 
no image
Pablo (Who am I?)

You are rigth. Its not working.

Trackbacks/Pings

No trackbacks or pings yet.

Leave a Comment

« Back to text comment

Comment template by SezWho

CrunchGear Sponsors