Check out example codes for "amp-img example". It will help you in understanding the concepts better.
Code Example 1
<amp-img src="https://amp.dev/static/samples/img/amp.jpg"
width="1080"
height="610"
layout="responsive"
alt="AMP"></amp-img>
Learn ReactJs, React Native from akashmittal.com