You can also use the "Preview" button to make sure the photos sit how you want.
Remember that the photos may wrap to the next line depending on the size of the viewer's screen and their zoom settings. For example, on my older PC, only 3 photos fit on a line; my newer devices have a wider screen and so 4 photos fit on a line.