Reputation: 830
My mobile app uploads images into Amazon S3 bucket. Now I need to get URL where image is displayed, not downloaded. Is it possible to do that? Thank you for idea.
Upvotes: 0
Views: 166
Reputation: 16532
Sure it can be done by setting meta-data in the S3 AWS Management Console - [ Content-Type : image/png
or Content-Type : image/jpg
] depending on the image format.
Once you have done this, the browser will render the image instead of downloading that.
Check out Object Key and Metadata for more info.
Upvotes: 1