Bugzilla – Bug 16871
Multiple Sources With Images
Last modified: 2013-02-12 19:58:24 UTC
I was wondering why IMG has been left out. Video and Sound have a source tag which I think IMG should have as well so that I as a web developer can have different image resources depending on things like the screen size or what the browser supports
There's some ongoing talk about it. You may find some info here:
And probably some other places on the web too ;-)
Why <img> hasn't got that is first and foremost just legacy. But now that we want something like it, it's harder to say how.
(and with a HTTP-based solution, having it all in one progressive image, allowing to stop downloading that one when you don't want more, then img tag wouldn't have to be changed to have sources at all).
This bug was cloned to create bug 17848 as part of operation convergence.
Mass move to "HTML WG"
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:
Status: Partially Accepted
Change Description: No spec change.
Rationale: The HTML WG is actively pursuing work in this area, in the
form of the <picture> and srcset="" extension specifications. I
encourage the OP to contribute to those efforts.