Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have uploaded some animated GIF banners to our S3 account and when we use the web url provided by S3 and try to view the banners in a browser, instead of display the banners in the browsers, I get prompted to download the banner image. Why is this?

When I uploaded a JPG image in the same S3 bucket and try to view it with a browser, I don't have this problem?

How do we solve this problem? We would like to syndicate our GIF banners through various affiliate sites. Could this cause issues at their end? The full URL of the banner is in this format Even when we use the CNAME version we have the same issue. The CNAME version is

share|improve this question
Just so you know, they'll still work fine in <img> tags. – ceejayoz Oct 13 '11 at 15:07
up vote 1 down vote accepted

This is due to a proper mime type not being added for gif files. Add it or change the current mime type for that file to the appropriate gif mime type rather than binary/octet and the problem will be fixed.

share|improve this answer
To follow-up, here is a related question with a solution regarding changing the mimetype on files on Amazon S3 from SO:… – Doug Oct 13 '11 at 15:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.