I am trying to change images depending on the screen size, but it doesn't work.
My code
<amp-img alt="description" src="img/picture-large.png" width="675" height="540" layout="responsive" srcset="img/picture-small 565w" sizes="(max-width: 1130px) 50vw, 100vw"></amp-img>
I want that from 1130px, selects the small image