Hacker News new | ask | show | jobs
by connorelsea 2945 days ago
I much prefer a pixelated or blurry preview image first and then the real image instead of waiting 20 years for images to load staring at a blank page. i notice the perceived speed difference on websites that do this and those that don't. Medium does it well and this react component image approach is similar. And once it is loaded, it is an <img />
1 comments

Images load in the background, so the other content will be available before the images are all finished loading.

As a rule, I’d much rather see nothing or a solid colour than a pixelated or blurred preview of the image; I find it and the transition surprisingly disconcerting. I mentioned this at https://news.ycombinator.com/item?id=16516126#16558042 and have heard others agree with me.

This component supports solid color as placeholder. The same way as Google Images or Pinterest do