When it comes to using different pictures of varying sizes based on screen breakpoints, what is the most effective approach?
For example
<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 challenge here lies in providing specific height and width for the mobile image, and not knowing how to handle fixed width for desktop users. It's worth noting that both images will have distinct art directions and won't share the same intrinsic dimensions.
I came across a helpful Stack Overflow post related to this topic, but it didn't address this exact scenario. You can check it out for reference here.