You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Image Preview for HTML Images] Support JXL progressive image loading instead #1407
Jpeg XL has a very efficient progressive image loading feature that shows a reduced-quality version of the image after just a few percent of the image is loaded.
This, IMHO, is a better way to deal with slow images loading.
It does not require creating an additional image.
It does not add extra http requests.
It quickly shows an image that is similar to the final version.
The only advantage of a dedicated preview image I can see is if you want to display a significantly different preview image. If this is even a real need, then I think it is rare enough that it can be handled with some coding, as it is done today.
So I think development effort should be put into supporting JXL, which mostly solves the problem you are trying to fix.
Chrome Canary and Firefox Nightly currently support progressive JPEG XL, so unless MS are going to disable it, Edge will support it soon.
Although, my personal opinion, I like it when progressive formats can produce something that's obviously a preview, but phases that could be mistaken for complete, but poor quality, are bad UX imo.
Edge also already supports progressive AVIF, which doesn't have that UX issue.
Thanks! I see progressive JPEG XL as orthogonal to this feature. It can provide a great loading experience without an additional resource, and sites should use it when it works for them.
At the same time, a number of sites and frameworks choose to use a separate image preview rather than rely on progressive images. This proposal is trying to make that existing pattern easier to implement. I think the two approaches can complement each other.
I agree that existing usage alone isn’t enough to establish the benefit. I’ve added a developer-needs document with more context, including lightweight previews supplied in API responses and shared web/native asset pipelines. I hope this helps explain the needs behind separate previews, though it doesn’t establish that they’re always preferable to progressive images.
The revised proposal also preserves native progressive rendering: displaying a preview no longer forces the browser to wait for a complete main-image frame.
Activity
jakearchibald commentedon Sep 26, 2026
Chrome Canary and Firefox Nightly currently support progressive JPEG XL, so unless MS are going to disable it, Edge will support it soon.
Although, my personal opinion, I like it when progressive formats can produce something that's obviously a preview, but phases that could be mistaken for complete, but poor quality, are bad UX imo.
Edge also already supports progressive AVIF, which doesn't have that UX issue.
QINGCHARLES commentedon Sep 27, 2026
I don't think the two ideas are mutually-exclusive.
ogerchikov commentedon Oct 5, 2026
Thanks! I see progressive JPEG XL as orthogonal to this feature. It can provide a great loading experience without an additional resource, and sites should use it when it works for them.
At the same time, a number of sites and frameworks choose to use a separate image preview rather than rely on progressive images. This proposal is trying to make that existing pattern easier to implement. I think the two approaches can complement each other.
jakearchibald commentedon Oct 6, 2026
I think it's really important for this project to be able to answer why they do that, and prove that it's actually a good idea.
If the goal is to blindly pave cowpaths, then "put React in the browser" should be way higher priority than image previews.
ogerchikov commentedon Nov 7, 2026
I agree that existing usage alone isn’t enough to establish the benefit. I’ve added a developer-needs document with more context, including lightweight previews supplied in API responses and shared web/native asset pipelines. I hope this helps explain the needs behind separate previews, though it doesn’t establish that they’re always preferable to progressive images.
The revised proposal also preserves native progressive rendering: displaying a preview no longer forces the browser to wait for a complete main-image frame.