Jetpack images lazy loading conflict with imagesloaded and masonry

Although we have added JS compatibility with support for the Jetpack plugin, sometimes it still does not work correctly and conflicts with our scripts.

Wrong position of Masonry items

The Jetpack has a custom JS event named jetpack-lazy-loaded-image, which we use to trigger Masonry re-layout after images lazy loaded. But for some reason, it is not fired in the Safari browser. Most likely, the problem is in the lazy load script of the jetpack (

The solution is simple – disable Jetpack’s lazy loading and use Visual Portfolio’s lazy loading.

Related topic –

Was this page helpful?