<picture>
    <source srcset="/1200x16:9" media="(min-width: 1280px)">
    <source srcset="/940x16:9" media="(min-width: 992px)">
    <source srcset="/768x16:9" media="(min-width: 768px)">
    <source srcset="/480x4:3" media="(min-width: 480px)">
    <img src="/320x4:3" alt="">
</picture>

Change browser window size to see difference