With Masonry Gallery Type you can show an ACF Gallery like a grid layout library. It works by placing elements in optimal position based on available vertical space.Options