@mshannon95 noticed issues with reflow not happening on Chrome when images lazyload on an about page item-figure include (works in Firefox, and may have worked fine until recently in Chrome).
This suggests need to add placeholder images (which we tried in past, but didn't love). This CCS-Tricks article suggested an inline svg option--that seems to work really well!
Add:
src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3C/svg%3E"
to images with data-src which are going to be lazy loaded.
I need to test on huge collections, but probably add to:
[x] timeline
[x] browsejs
var placeholder = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3C/svg%3E"
@mshannon95 noticed issues with reflow not happening on Chrome when images lazyload on an about page item-figure include (works in Firefox, and may have worked fine until recently in Chrome). This suggests need to add placeholder images (which we tried in past, but didn't love). This CCS-Tricks article suggested an inline svg option--that seems to work really well!
Add:
src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3C/svg%3E"
to images withdata-src
which are going to be lazy loaded.I need to test on huge collections, but probably add to:
var placeholder = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3C/svg%3E"