Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

394
Views
AWS S3 : How to Display image in browser without ContentType

Is there a way to display images in the browser without downloading them if they don't have the ContentType tag on AWS S3

'ContentType' =>'image/jpg'

I realized that this is a fix for the images that will be uploaded so i implemented it but the 100's of images already on AWS S3 server still download in the browser.

A potential solution is recursively changing the tag using the s3cmd https://serverfault.com/questions/725562/recursively-changing-the-content-type-for-files-of-a-given-extension-on-amazon-s

But i want to know if i can do this using php when i retrieve the images???

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!