Skip to content

[Image Preview for HTML Images] Prior art... (lowsrc) #1400

Closed

Description

Isn't the proposed new previewsrc attribute just a rehash of the long-deprecated lowsrc attribute?

Aside from the fact that lowsrc was non-standard and mainly IE-only, wouldn't this new attribute suffer from most of the same problems as that ancient relic?

Activity

  1. added
    Image Preview
    on Sep 22, 2026
  2. jakearchibald commented on Sep 22, 2026

    @jakearchibald

    I don't think re-using the name buys us anything, but the explainer should justify why this new solution will succeed where lowsrc failed.

  3. tunetheweb commented on Sep 22, 2026

    @tunetheweb

    Is there a reason NOT to reuse the name? I’d imagine it will cause confusion if there are near identical attributes (even if one is deprecated and poorly documented).

  4. jakearchibald commented on Sep 22, 2026

    @jakearchibald

    Just confusion & negativity really. previewsrc seems like a better name for this feature.

  5. ogerchikov commented on Oct 1, 2026

    @ogerchikov
    Member

    Thanks for pointing this out. I wasn’t aware of lowsrc, but I did some digging and found some useful history.

    LOWSRC originated in Netscape and was also supported by IE and other browsers, but it was never part of the HTML standard. DOM Level 1 included the lowSrc property, DOM Level 2 removed it, and current HTML tells authors not to use it and recommends progressive JPEG instead. Browsers still keep the JavaScript property so older sites continue to work.

    Mozilla bug 92453 suggests that implementation problems were one reason Firefox removed the loading behavior. However, I couldn’t find historical telemetry, reliable data about how widely it was used, or documentation explaining why it declined across browsers and websites.

    Like lowsrc, previewsrc provides a separate preview image that is shown while the final image loads. The difference is that previewsrc tries to define the behavior more clearly and make it work with today’s image-loading features. That doesn’t guarantee it will succeed, and the concerns about extra requests, keeping the preview and final image in sync, responsive images, and progressive loading still apply.

    I don’t think we should reuse the lowsrc name. Browsers already expose the property, so sites couldn’t reliably detect support, and old pages could suddenly start loading images differently.

    I’ll add this history and comparison to the explainer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Image Preview

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions