List item display problem

there is an image entity which contains a list of images in my project.they are by default showing stacked on top of each other. I want to display the images in form of a grid side by side . how should i set it.
1 answers

Use template grid like this below then you will be able to show it side by side like this .

This is just example below, you can customize as you want..