Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matt Wilcox article #17

Closed
eeeps opened this issue May 23, 2014 · 1 comment
Closed

Matt Wilcox article #17

eeeps opened this issue May 23, 2014 · 1 comment

Comments

@eeeps
Copy link
Contributor

eeeps commented May 23, 2014

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/

@yoavweiss
Copy link
Member

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)

@eeeps eeeps closed this as completed Jun 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants