Display images in Matrix block in grid view
{% for batch in block.images|batch(3) %}
  &lt;div class="row"&gt;
  {% for image in batch %}
    &lt;div class="column"&gt;
      &lt;img src="{{ image.url }}" alt=""&gt;
    &lt;/div&gt;
  {% endfor %}
  &lt;/div&gt;
{% endfor %}