Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

I was trying to upload a gif file (4MB) into a post. I get the following error:

For security reasons, framing is not allowed. Click OK to remove the frames.

See this gif screenshot (click here if it doesn't play):

Why I am getting this error? Is the size of the file a reason?

Same story is here, on meta, when trying to upload same file.

share|improve this question

migrated from Jun 26 '14 at 4:36

This question came from our discussion, support, and feature requests site for professional and enthusiast programmers.

marked as duplicate by Ionică Bizău, Emrakul, random discussion Jun 26 '14 at 5:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

I may be stating the obvious, but it appears you're browsing Ask Ubuntu inside a frame. Stack Exchange sites do not like to be framed. – Frédéric Hamidi Jun 24 '14 at 14:16
@FrédéricHamidi I guess file uploader uses an iframe element (not sure), but the site is not in a frame... The response from the first request has a header that blocks iframes from other origins: X-Frame-Options:SAMEORIGIN – Ionică Bizău Jun 24 '14 at 14:18
Okay, so where does the top banner come from? – Frédéric Hamidi Jun 24 '14 at 14:19
@FrédéricHamidi It's askubuntu site. Can't you see it?! And it's not an iframe... – Ionică Bizău Jun 24 '14 at 14:20
Ah, okay, my bad, Ask Ubuntu does not use the same layout as the other sites. Not a frame, then, so the problem is not as easy as it first appeared to me. Are you behind a proxy of some sort? – Frédéric Hamidi Jun 24 '14 at 14:21
@FrédéricHamidi Just connected to a router (via wireless) + modem. – Ionică Bizău Jun 24 '14 at 14:23
@FrédéricHamidi: The AskUbuntu site is 'special' in that it has some more UI to fit it into a wider series of sites. – Martijn Pieters Jun 24 '14 at 14:33
That shadow... I like how it scales in proportion to the size of the dialog. Because large dialogs are always much higher off the fake surface and nearer to the fake light source than small dialogs. #UIFail #NoHashtagsOnMeta – Won't Jun 24 '14 at 17:16
Meta Stack Overflow is now the meta site for Stack Overflow only. This bug hit you on Ask Ubuntu, so why are you asking here? It would make sense to ask on Meta Ask Ubuntu or on Meta Stack Exchange. Asking on Meta Stack Overflow seems odd. – TRiG is Timothy Richard Green Jun 25 '14 at 16:57
This question appears to be off-topic because it is about AskUbuntu and in now way suitable for MSO. Migrate it to Ubuntu's meta instead. – Amit Joki Jun 25 '14 at 17:12
up vote 32 down vote accepted

It does have to do with the size of the file. Imgur chokes on some files larger than 2MB, and the error it returns uses frames. Thus the error from the Stack Exchange code.

See: "For security reasons, framing is not allowed; click OK to remove the frames." on Imgur upload

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .