Here is a test page that I’ve made trying out the CaptionPix plugin.
https://www.nppbc.com/?page_id=974
On my end there seems to be something separating the photos within the coding. On this test page the separation is between the second and third row. Douglas Self should start the next row if 4 pictures are shown per row.