5 ms·
I think this kerfuffle does point at something that would be nice to have ratified in the HTML spec somewhere: the idea that content exists in different qualiti
by Lewisham 13y ago
I think this kerfuffle does point at something that would be nice to have ratified in the HTML spec somewhere: the idea that content exists in different qualities and formats, and that when the user requests to download the content, she's presented with the different options possible. Content negotiation still only has one chosen format come down the pipe; a decision that the user probably hasn't made.
Right now, we're stuck with everybody doing something different in the page design to do something that's pretty important and fairly intrinsic to much of what happens on the web. And so users just default to the thing they know works everywhere, which is Save As... It's not surprising some of them are upset.
The only issue I can see with this is that there are security concerns with being able to override what is actually downloaded when Save As is used.
- kalleboo 13y agoThe article touches upon the HTTP Accept header which does just that. Most browsers haven't implemented it properly for images yet though. https://developer.mozilla.org/en-US/docs/HTTP/Content_negotiation https://developer.mozilla.org/en-US/docs/HTTP/Content_negoti...
- ElliotH 13y agoI always wish HTTP Accept was widely used to present alternate formats and presented to users in a nicer way. It basically solves all this kerfuffle, it seems oft forgotten outside of XML/JSON/HTML in api's though sadly.
- igrigorik 13y agoWe just landed "image/webp" in Accept header in Chrome, behind a flag.. Opera already advertises WebP support in their Accept header. So, with that in place, it should make things a lot simpler (although it doesn't solve the Save As case).
- paulirish 13y agoIn Chrome, it looks like we're going to register as the default handler for webp images, so they're viewable post-download, similar to what's done with PDFs: https://code.google.com/p/chromium/issues/detail?id=234275 https://code.google.com/p/chromium/issues/detail?id=234275
- Negitivefrags 13y agoWhy not trans-code the image format to something more common if the user wants to save the image? I would imagine that would be far more useful to the vast majority of users.
- igrigorik 13y agoA good discussion on this here: https://groups.google.com/a/chromium.org/forum/#!msg/chromium-discuss/oUBhAMDX17U/RyvQ89PmKq0J https://groups.google.com/a/chromium.org/forum/#!msg/chromiu...