Workflow
Choose Grid and set Columns. Use Contain when you want every edge of each photo to show.
Plan a grid around your photos
Start with the shape your photos have in common. A grid of portraits works better on a tall canvas, while wide landscapes have more room in a wider grid.
Put related shots in the same row. If the last row has fewer photos, move wider images into those larger tiles and check how the rows read together.