I set up a filterable gallery of images (there are potentially going to be hundreds of them). I am using Isotope filtering with a Masonry layout. So far so good.
Now I need to lazyload all the images so as to not crash everyone’s computer. But the issue is that the lazyloaded images further down the page lose their height, and the masonry layout needs the height parameter for the layout, so the formatting is completely destroyed.
This would be relatively straightforward if all the images were same height, but they are not.