This free bootstrap template demonstrates a gallery layout.

The template is responsive, and when resized for smaller devices, renders one image per line.