Optimizing content for user's screen width
Posted on 2013-05-14
After avoiding this subject for as long as possible, I'm about ready to make some concessions to the increased prevalence of mobile browsers visiting our website. I'm not ready to create a dedicated mobile presence, but I would like to adjust some large images for performance on smaller screens. Unfortunately, when I examine statistics for visitors' screen resolutions, the results differ significantly, depending on which system is recording the data.
I have collected some great advice from Experts on this forum, regarding methods of applying Media Query, to serve different sizes of images, based on visitor's screen width. If I were to offer three different image sizes, for three different ranges of screen width, may I ask for an opinion as to what those ranges should be, in order to perform well on desktops, tablets and iPhones?
Finally, would you recommend performing the Media Query based on the visitors' screen width, or window width?