Jhey Tompkins
1 min readDec 19, 2017

--

Hey Jason! đź‘‹

Yep a plugin like that would work great. Depending on the syntax and package it will likely be something along the lines of

imagesLoaded('.masonry-container', () => {
// Layout initialisation code here... new Masonry() etc.
})

It’s only on that first load prior to the browser cacheing assets that it seems the issue arises so it should fingers crossed only have any impact on users on first load. There could be different ways round this such as having placeholders for loading images like grey squares and other designs 👍

Hope that helps!

--

--

Jhey Tompkins
Jhey Tompkins

Written by Jhey Tompkins

I make awesome things for awesome people!

No responses yet