{% assign images = include.images | split: ',' %}

{% if include.column == "auto" %}
{% assign column = 100.0 | divided_by: images.size %}
{% elsif include.column > 0 %}
{% assign column = 100.0 | divided_by: include.column %}
{% endif %}


<figure class="row">
    {% for image in images %}
    <div class="column">
        <img {% if images.size== 1 %}class="single" {% endif %}
             src="{{ image | prepend: 'assets/img/' | relative_url }}"
             alt="{{ image | prepend: '/' | split: '/' | las