Is a CMS gallery with more than 25 images not possible?

The title basically already says it all. For a photography portfolio I’d like to create a CMS-based masonry gallery where I add images with the multi-image field.

The problem is, that this field has a limit of 25 images. Is there a way to upload them in 25 batches but load all multi-image fields into one gallery?

I could just generate multiple CMS lists for each 25 batch but this often creates ugly gaps between the lists since they rarely end on a straight line due different image heights.