If we want to use different pictures of different sizes according to a screen break. What would be the best way to approach this?
For instance
<picture class="image-wrapper">
<source srcset="images/image-product-desktop.jpg" media="(min-width: 800px)"/>
<img class="image" src="images/image-product-mobile.jpg" alt="chanel perfume bottle lying down with leaves draped around">
</picture>
The issue above is that I can provide height and width for the mobile image, but if the user loads on the desktop, I don't understand yet, how to provide fixed width for that. I should add that the two images will have a different art direction. They will not have the same intrinsic width or height.
I found an excellent SO post below which is relevant, but hasn't responded to this precise situation. Here it is for reference.