Hacker News new | past | comments | ask | show | jobs | submit login

They do not.

The width and height attributes we have been discussing set the size that the image will be displayed at, which are not necessarily the size of the image transferred.

Those are two very different things. My statement holds - if an image has size (a, b), but the author wants it to render at size (c, d) but does not send that data, the client has no way of magically determining c and d.

Furthermore, even when the actual image size is the same as the width and height attributes, there's the obvious problem of you needing to completely transfer the image itself before determining the size, which blocks rendering (or forces you to re-compute layout a second time, which both increases latency and decreases throughput).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: