Responsive Images 101, Part 4: Srcset Width Descriptors
In the latest part of Jason’s excellent overview or responsive images he touches on the width descriptors and why they matter. This is part 4 in a 9 part series.
The width of the image source can cause some confusion. Width descriptors are looking for the resolution of the source file.
In other words, if you open the image in an image editor, what does it say the resolution is? Grab the width and put it in the srcset attribute.
An excerpt from Responsive Images 101, Part 4: Srcset Width Descriptors