Responsive web design allows our content to shine no matter the screen size, so it can be accessed easily on multiple devices.
However, devices are also starting to vary based on screen resolution. Can responsive web design handle that as well?
I believe it can, and it must. Here’s my take.
Right now, the iPhone 4 has a retina-display, with much higher pixels per inch than an iPhone 3GS.
The 3GS is 165 ppi, the iPhone 4 326 ppi, the iPad 132 ppi. That’s just for iOS devices. Resolutions abound.
If you are using a responsive web design, with a fluid grid, the size of your images is likely determined by percentages. So your image will take up the same visual space on a high-resolution screen: that part at least is not a problem.
But how will that image look? Is your image 72 ppi, as most web images are? 92? How will that look when scaled up to 326 ppi? Probably not as crisp, right?
Shouldn’t we be considering doing the same thing for higher-resolution screens?
Start with a low-res, small-size image in the HTML. Then, as the browser-width increases, switch in larger-size images, and as the screen-resolution increases, switch in images with the appropriate size and resolution.
Doing this manually would seem pretty labor-intensive: the combinations of image size and resolution are many. You almost would need to have a master image, then use some sort of server script spit out a bunch of different sizes and resolutions. This would obviously take up a good amount of server space.
However, the end result would be images that load as quickly as possible given the screen size and resolution, while also letting images be truly stunning on high-resolution devices.
There is a media query for
With rumors that the next iPad will have a retina display as well, and some more obscure rumors that Mac displays could eventually be higher resolution too, this is a problem we would be wise to tackle sooner rather than later.