
  <body>
    <!-- requires srcset attribute -->
    <amp-img
      height=300
      layout=responsive
      sizes="(min-width: 320px) 320px, 100vw"
      src=https://acme.org/image1.png
      width=400>
    </amp-img>
    <!-- sizes -->
    <amp-img
      height=300
      layout=responsive
      sizes="(min-width: 320px) 320px, 100vw"
      srcset="img-480w.jpg 480w,img-800w.jpg 800w"
      src=https://acme.org/image1.png
      width=400>
    </amp-img>
  </body>
</html>
