I used a really simple functions.php filter to change the shortcode output so that it’s easier for the script to work with. I included details about that in the repo. Then I just included the script and dropped the default initialization in the Bricks footer and it automatically styles all the WordPress galleries without any fuss.





The galleries are responsive — as in, they will look good on any screen size — but I haven’t added any true ‘responsive’ functionality yet, like a dynamic row-height based on breakpoints. Though, it’s in the pipeline if I ever manage to come back around to it. It’s a pretty low priority for now since it handles the resizing pretty gracefully as is.
So, anyway, now lazy loading works, page speed down from around 25 seconds to about 1 second, the galleries look nice, and there’s no plugin polluting WordPress and dropping god-only-knows what cluttered junk in the database.
Thought others in my situation might find it useful. :)

