If you look at websites like Medium, you will notice that the URL of the image controls the quality % and size of the image.
i.e. https://d262ilb51hltx0.cloudfront.net/max/1280/1*trqJ8rY4_duJtwAOJOJS6w.jpeg This image is rendered as 1280px wide and max quality.
How can I do the same thing? I host my images on Amazon s3 and I want to be able to do exactly the same thing. How?