You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A few fallacies there (on which I would have commented if he had comments):
srcset has nothing to do with layout breakpoints
sizes's value is there to optimize on the 100% viewport width default. So in the worst case scenario where you can't add sizes, srcset will be as good as his server side solution (which sends viewport width wide images)
So, layout breakpoints are only relevant for art-direction and extra optimization over server side solutions.
Also - Layout breakpoints would get DRYed up in the future with CSS aliases.
Finally, IMO, if your CMS doesn't allow you to control your image upload process and produce multiple resources per uploaded image, you should switch to a better CMS. (regardless of responsive images, your images are most probably compressed in a sub-optimal way)
Missed this last week. Raises concerns about putting layout in markup. A bit of a downer, but well-reasoned & written.
https://mattwilcox.net/archives/a-picture-perfect-problem/
The text was updated successfully, but these errors were encountered: