Masonry Grid on CMS Collection Page Template

I am trying to create a dang pinterest like masonry grid for a client. They have projects I am using the CMS for and inside those are large photosets. I’ve seen tutorials where I can make a masonry grid on a static page. I’d prefer to not do that for every single post.