Live data from Hacker News

How to think about HTML responsive images

danburzo.ro

1–10 of 47 posts

Re: How to think about HTML responsive images

#7

Looks like the verbose approach would be the most advantageous for backwards and forwards compatibility

Having the server decide the image format based on the accept header is simpler. Services like https://imagekit.io/ (no affiliation) can do that for you.

Re: How to think about HTML responsive images

#9
I have no idea why browsers moved away from providing the DPR (device pixel ratio) header on media requests so one could continue using the sensible and simple whilst the server could return the correct images on its own.

Would love to know the rationale.

Re: How to think about HTML responsive images

#10
post #5

I just have to compliment the lovely external link motif here.

Thank you! I must have picked up the idea from from Matthew Butterick’s “Practical Typography”, but with the symbol drawn rather than as the degrees character, to spare screen reader users from hearing that constantly.

https://practicaltypography.com/

Post reply on HN