As I dive into the realm of creating responsive websites, I have encountered discussions about the challenges that arise when handling images. It seems that using images can consume a significant amount of bandwidth, especially when scaling down a larger image meant for desktop to fit mobile screens with smaller dimensions.
So my query is this: couldn't we address this issue by incorporating different images within the interchangeable CSS layouts? For instance, if we have two @media queries, wouldn't it be possible to use two images of varying sizes tailored to each layout, thereby reducing the strain on bandwidth? This approach could involve having a 1080px image for desktop and a 300px image for mobile, consequently optimizing bandwidth usage.
Is this strategy considered incorrect or does it serve as a practical solution? Can someone shed light on why this might not fully resolve the problem, even though I believe it would? I aim to craft responsive sites that are considerate of bandwidth constraints.