News for hackers. Stuff that matters.
Re:1MB Club by dylan604 on Thursday November 19, 2020 @06:31PM (#25155656)
If you were able to calculate the space in the document flow for those images, I'm fine with the lazy loading. I hate when the page text appears rendered long enough that I start reading, but then lazily loaded items cause the flow to rearrange the text so that I lose my place.
Re:1MB Club by jan6 on Thursday November 19, 2020 @11:50PM (#25157394)
I imagine it should be pretty easy with javascript to set up dummy images, and replace them... probably also doable in pure css, just make them a block element or something, with a set size...
Re:1MB Club by innocenat on Friday November 20, 2020 @12:29AM (#25157566)
You don't have to imagine everything. Normally the lazy-loaded image should be seeded with transparent SVG that as the same dimension. It's a solved problem.
Re:1MB Club by sago on Friday November 20, 2020 @10:23AM (#25161292)
I miss lowsrc. It had a point.
Re:1MB Club by adrianN on Friday November 20, 2020 @12:31AM (#25157576)
Wasn't this what progressive jpeg was invented for?