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

Upload dialogue file format options selector in Mac OS?

more options

Hi,

When using Safari or Chrome, my workplace's website defaults to uploading PSD files, but there's also a selector that allows me to upload PNGs.

Firefox doesn't show the selector and PNGs are greyed out. I can't upload those files. I can't find if there's an option to show the file type selector.

Please see the attached image comparison.

Hi, When using Safari or Chrome, my workplace's website defaults to uploading PSD files, but there's also a selector that allows me to upload PNGs. Firefox doesn't show the selector and PNGs are greyed out. I can't upload those files. I can't find if there's an option to show the file type selector. Please see the attached image comparison.
Attached screenshots

All Replies (5)

more options

Is there any public page that demonstrates this problem (public meaning, no login required)?

If you compare the Browse button below the reply box on this forum, which is limited to particular image types, do you see the same difference between Firefox and the others, or is Firefox more flexible with the one here?

The code for the file upload control here is:

 <input type="file" id="id_image" name="image" size="30"
    accept="image/jpeg,image/png,image/gif"
    title="Browse for an image to upload."/>

(Sorry for not testing that myself, I'm on Windows during the day.)

Modified by jscher2000 - Support Volunteer

more options

Hi jscher,

Sorry, I wish there was a public way to demo, but there isn't.

The "Browse..." button below does indeed show the "Format" selector. I don't know why FF won't show it on our page when it does show in Safari and Chrome.

I guess I'll have to ask the IT guys to look at the code. Thanks for the help!

more options

Can you post the code that is used for that element?

You can right-click and select "Inspect Element" to open the builtin Inspector with this element selected.

more options

Hi folks,

Thank you for your replies.

I've talked about this with our IT person. I'm told that the window with the "Upload" button is from an Adobe Flash call.

The upload window is Flash code because it was made in 2003 or something. There's little to no chance that the code will be updated.

I have the most current Flash updates installed.

Considering that the "Format" selector shows up in Chrome and Safari, I wonder if it's how FF renders the Flash code. (I'm not a coder, obviously, so my jargon may be off.)

I hope this helps. Do you still need to see the code? I'm not sure how to bring this up, even with the Inspect Element tool. Thanks for your time!

more options

Some of the parameters for the Flash control may be "inside" the SWF file and therefore inaccessible. Others might be defined in the page., so it's worth taking a look at the code. Usually this would be something like:

<object> parameters </object>

If one of the parameters specifies permitted file extensions, perhaps that could be, er, hacked to include the ones you want the uploader to list.

To find the Flash object in the Page Inspector may not be obvious, since unlike a video, it doesn't have to be right there at the upload button. But it might be.