24

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.

10
  • 10
    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. Jun 24, 2014 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 Jun 24, 2014 at 14:18
  • Okay, so where does the top banner come from? Jun 24, 2014 at 14:19
  • 7
    @FrédéricHamidi It's askubuntu site. Can't you see it?! And it's not an iframe... Jun 24, 2014 at 14:20
  • 1
    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? Jun 24, 2014 at 14:21
  • @FrédéricHamidi Just connected to a router (via wireless) + modem. Jun 24, 2014 at 14:23
  • 3
    @FrédéricHamidi: The AskUbuntu site is 'special' in that it has some more UI to fit it into a wider series of Ubuntu.com sites. Jun 24, 2014 at 14:33
  • 1
    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
    – user1228
    Jun 24, 2014 at 17:16
  • 1
    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
    Jun 25, 2014 at 16:57
  • 3
    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, 2014 at 17:12

1 Answer 1

32

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

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