Kyle Decot
Kyle Decot

Reputation: 20835

Amazon S3 Images

I'm attempting to build a Rails application that uses Amazons S3 service. I'm able to upload images to my bucket but when I try to display them in a browser window my image is downloaded to my computer instead of being shown in the browser which is what I want.

https://s3.amazonaws.com/skateparks/b_72e3d8d31fc4263f40b6.png

Upvotes: 0

Views: 404

Answers (1)

Spike Gronim
Spike Gronim

Reputation: 6182

Set the Content-Type header when you upload the image to S3.

Upvotes: 3

Related Questions