MHN
Add a comment on Hacker News →
1 of 27 comments
  1. Would be nice to be able to declare

    "Use this size image when the img is being rendered at x size/width/height", size could depend on css, width/height properties, or just imposed by a parent element.

    Choosing an image size based on the size of the entire screen is a hack that we've just accepted because we don't have a more precise tool.

    Yes, you can technically achieve it with JS, but that's a crutch, and less helpful for page load.