I can't get a Packery Gapless image grid to work correctly.
What is the correct way to initialize with jQuery (just for 1 CMS page), using this code snippet from Packery?
$('.grid').packery({
// options
itemSelector: '.grid-item',
gutter: 10
});
Where and how do I add this?
Currently I am initializing the program via HTML which works fine apart from I can't get an additional module images loaded to work.
The documentation suggests to try initializing the program with jQuery (hence the above question)