Docusaurus: Progressive Image Loading

Created on 29 Aug 2018  路  7Comments  路  Source: facebook/docusaurus

馃殌 Feature

Have you read the Contributing Guidelines on issues?

Yes

Motivation

To improve the user experience. When visiting a page, for example: https://docusaurus.io/en/users
We can see that by default browser will not display the image until it is fully downloaded.

Pitch

Note that Medium did this and they have a very nice image loading effect.
First, load a small blurry image, and then transition to the large image. I found it pretty neat

Look at this codepen for example of loading fortnite wallpaper
https://codepen.io/endiliey/pen/wEzoBJ

Current baseline image loading (which most website does)

image

Progressive image loading
image

v2

All 7 comments

I鈥檇 like to take this on!

@notjaril it's yours!

I'll check in with you periodically so that we can keep the task updated with the progress.

You might want to check this out

https://github.com/Paul-Browne/lazyestload.js

Hi, @notjaril

Do you still work on this one?

@notjaril How's your progress for this task? Let us know how we can help. If you are no longer available for this task, just let us know and we can free it up for someone else. Do keep us updated 馃槃

Hi @notjaril, are your working on this?
@yangshun doubt, are we planning this only for users page?

If we were to do it, it shouldn't be just for users page. But I don't think it's a high-priority for now.

Was this page helpful?
0 / 5 - 0 ratings