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

How to post images on instagram?

  • 5 replies
  • 1 has this problem
  • 125 views
  • Last reply by cor-el

more options

Hi. Is there a way to post photos/pictures on Instagram with Windows Firefox? I have found many threads in the net, that this is possible but the operation requires changing user agent in Firefox. But it still doesn't work. I have tried few different user agent switchers. Everytime I set user agent for Android and reloaded instagram webpage, the instagram page no longer nagging me to install android app, offers me additional functions to upload images (so it seems it should work), but no matter which jpeg i will choose, i always get error "Upload failed. Only images can be posted.". I tried the same with chrome and everything works like it should. So what is wrong with FF? Why it doesn't work?

Hi. Is there a way to post photos/pictures on Instagram with Windows Firefox? I have found many threads in the net, that this is possible but the operation requires changing user agent in Firefox. But it still doesn't work. I have tried few different user agent switchers. Everytime I set user agent for Android and reloaded instagram webpage, the instagram page no longer nagging me to install android app, offers me additional functions to upload images (so it seems it should work), but no matter which jpeg i will choose, i always get error "Upload failed. Only images can be posted.". I tried the same with chrome and everything works like it should. So what is wrong with FF? Why it doesn't work?

Chosen solution

When you upload a file, Firefox may provide the wrong content-type for it, if that was stored during a previous download. For example, sometimes sites will tell Firefox that a PDF is of content-type "application/download" instead of "application/pdf". Then if the user tells Firefox to remember that association, when they want to upload a PDF to some sites, the site will reject it because it doesn't want "application/download" type documents.

Let's see if that's a factor here. The file used to store application handling preferences changed in a recent version of Firefox, but I don't remember if it had changed by Firefox 52, so I'll ask you to look for both files.

Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, click the "Open Folder" button. This should launch a new window listing various files and folders in Windows Explorer.

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > "power" button
  • (menu bar) File > Exit

Pause while Firefox finishes its cleanup, then:

  • If you see a file named handlers.json, then right-click > Rename it to something like handlersOLD.json.
  • If you see a file named mimeTypes.rdf, then right-click > Rename it to something like mimeTypesOLD.rdf.

Start Firefox back up again. Any difference?

Note that this will clear custom download handling preferences that Firefox accumulated in past browsing.

Read this answer in context 👍 1

All Replies (5)

more options

If this is a android version you should post to the Android section of the forum here.

more options

It is normal Firefox for Windows and it is desktop, not mobile with user agent set to Android to make instagram thinks that this is Android. Moving this thread or publish it in Android section won't give anything because it is not Android issue. Did You read my whole topic/problem or just stop only after subject?

more options

Chosen Solution

When you upload a file, Firefox may provide the wrong content-type for it, if that was stored during a previous download. For example, sometimes sites will tell Firefox that a PDF is of content-type "application/download" instead of "application/pdf". Then if the user tells Firefox to remember that association, when they want to upload a PDF to some sites, the site will reject it because it doesn't want "application/download" type documents.

Let's see if that's a factor here. The file used to store application handling preferences changed in a recent version of Firefox, but I don't remember if it had changed by Firefox 52, so I'll ask you to look for both files.

Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, click the "Open Folder" button. This should launch a new window listing various files and folders in Windows Explorer.

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > "power" button
  • (menu bar) File > Exit

Pause while Firefox finishes its cleanup, then:

  • If you see a file named handlers.json, then right-click > Rename it to something like handlersOLD.json.
  • If you see a file named mimeTypes.rdf, then right-click > Rename it to something like mimeTypesOLD.rdf.

Start Firefox back up again. Any difference?

Note that this will clear custom download handling preferences that Firefox accumulated in past browsing.

Modified by jscher2000 - Support Volunteer

more options

Thank You very much. Couraged by Your post I just created new profile, installed user agent switcher and it worked. Now I will try to investigate why instagram doesn't want to work on my old profile, but this is out of this problem. BTW, i don't have handlers.json.

more options

What Firefox version are you using with the user agent switcher and did you use such an extension before with that website?

Are/were you using resist fingerprinting becaue that changes Firefox version and platform?

  • privacy.resistFingerprinting = false