Vanwege onderhoudswerkzaamheden die uw ervaring zouden moeten verbeteren, heeft deze website beperkte functionaliteit. Als een artikel uw probleem niet verhelpt en u een vraag wilt stellen, kan onze ondersteuningsgemeenschap u helpen in @FirefoxSupport op Twitter en /r/firefox op Reddit.

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

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.
Gekoppelde schermafbeeldingen

Alle antwoorden (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.)

Bewerkt door jscher2000 - Support Volunteer op

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.