Bug 11624 - ER: Add support for non-standard lowsrc attribute of img tag
Summary: ER: Add support for non-standard lowsrc attribute of img tag
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: 419.x
Hardware: Mac OS X 10.4
: P4 Enhancement
Assignee: Nobody
URL: http://www.quirksmode.org/oddsandends...
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-16 19:00 PST by Nicholas Shanks
Modified: 2022-08-04 09:56 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Shanks 2006-11-16 19:00:49 PST
It would be nice if WebKit supported the <img src="…" lowsrc="…"> HTML construct.
That way one could use it to deliver 72dpi images first and then higher res images for high DPI sites, without any funky CSS media queries.
See linked site for an example of it, and an example with a larger main image here:
http://www.scit.wlv.ac.uk/encyc/lowsrc.html
Comment 1 Darin Adler 2007-01-18 08:58:55 PST
I don't think this is a good approach for 72 DPI vs. higher DPI.
Comment 2 Nicholas Shanks 2007-01-18 11:26:47 PST
Perhaps not optimal, but it is a solution that's backwards-compatible with IE and NS.
But the High DPI case is not the reason I requested it.

If a website has images (that take a long time to load, for example NASA has lots of TIFF files on it's site), they could load in the background while a small progressive JPEG is loaded as the lowsrc, giving all of fast very lossy display -> lossy display -> slow lossless display.

Perhaps not NASA themselves, but their images could be linked to from a third-party site in this way. I'm sure there are many other real-world-usage examples that would be implemented if the attribute were better supported.

And given that it never reached any HTML specs (to my knowledge), it would be a quirks-mode only feature.
Comment 3 Robert Blaut 2008-12-30 05:29:47 PST
URL is dead.
Comment 4 Ahmad Saleem 2022-08-04 09:56:12 PDT
This can be achieved via modern CSS and <picture> tag. Modern CSS can enable you to request high-dpi images and also have "progressive" enhancement to reduce data bandwidth costs. I think this is achieved via various other means, so this would "RESOLVED WONTFIX" at the moment. Thanks!