}
    {% if file.path contains include.folder %}
    {% if file.extname == '.png' %}
    {% assign filenameparts = file.path | split: "/" %}
    {% assign filename = filenameparts | last | replace: file.extname,"" %}
    <li>
        <a href="{{ file.path | relative_url }}" title="{{ filename }}">
            <img src="{{ file.path }}" 
            alt="{{ filename }}" class="figure"
            title="{{ filename }}" />
        </a>
    </li>
    {% endif %}
    {% endif %}
    {% endfor %}
</ul>