September 9th, 2020

Replying to a tweet from @jaffathecake

It would be nice if there were an attribute on the img element that you could use to point to the low-res version.

We could call it something like …lowsrc.

😉

51° N , 0° E

Also on Twitter

Reply Retweet Favourite

Responses

Jake Archibald

Yep! Although I’m not sure about network priorities when it comes to two requests. The nice thing about a single resource is the loading order is locked into the file. https://t.co/YSEVpzBUi6

Eric Portis

You can always lock it into the HTML 🙃codepen.io/eeeps/pen/poyL… In a world where in-file previews of some form exist, what would be needed to revive the original lazyload spec/implementation that preloaded and tried to decode/paint a tiny range?

# Posted by Eric Portis on Wednesday, September 9th, 2020 at 1:28pm

Jake Archibald

That’s a good question. Maybe nothing needs to change, the loading thing is just a hint, maybe the browser could just download a small range without breaking any rules. Maybe.

2 Shares

# Shared by Wellington Torrejais da Silva (em 🏡) 🏳️‍🌈🇧🇷 on Wednesday, September 9th, 2020 at 12:04pm

# Shared by Nicolas Hoizey on Wednesday, September 9th, 2020 at 12:42pm

22 Likes

# Liked by Fabio Venni on Wednesday, September 9th, 2020 at 12:16pm

# Liked by Erik Vorhes on Wednesday, September 9th, 2020 at 12:16pm

# Liked by Katie Sylor-Miller on Wednesday, September 9th, 2020 at 12:16pm

# Liked by Marco Slooten 👨‍💻 on Wednesday, September 9th, 2020 at 12:16pm

# Liked by Dem Caspers seins™ on Wednesday, September 9th, 2020 at 12:16pm

# Liked by Hubert SABLONNIÈRE 😎 on Wednesday, September 9th, 2020 at 12:16pm

# Liked by Wellington Torrejais da Silva (em 🏡) 🏳️‍🌈🇧🇷 on Wednesday, September 9th, 2020 at 12:16pm

# Liked by Dave Rupert on Wednesday, September 9th, 2020 at 1:03pm

# Liked by Matt Ström on Wednesday, September 9th, 2020 at 1:03pm

# Liked by Nicolas Hoizey on Wednesday, September 9th, 2020 at 1:03pm

# Liked by Jake Archibald on Wednesday, September 9th, 2020 at 1:03pm

# Liked by Diria que... on Wednesday, September 9th, 2020 at 1:44pm

# Liked by Jason Berry on Wednesday, September 9th, 2020 at 1:44pm

# Liked by François REMY 🍥 on Wednesday, September 9th, 2020 at 1:44pm

# Liked by 😷 Alan Dalton on Wednesday, September 9th, 2020 at 1:44pm

# Liked by Bernhard Sturm on Wednesday, September 9th, 2020 at 2:59pm

# Liked by Todd Parker on Wednesday, September 9th, 2020 at 4:14pm

# Liked by David Hall on Wednesday, September 9th, 2020 at 4:57pm

# Liked by Raoul Kramer on Wednesday, September 9th, 2020 at 5:43pm

# Liked by Andrew Browne on Wednesday, September 9th, 2020 at 6:21pm

# Liked by jnthn on Thursday, September 10th, 2020 at 9:51am

# Liked by nemzes 🇪🇺 on Thursday, September 10th, 2020 at 12:31pm

Have you published a response to this? :