<@tools.fileList type='file' path=path>
    <#if path?has_content>
        <div class="image-list">
            <a href="common/file_list.html?path=${path?contains('/')?then(path?keep_before_last('/'),'')?url}&field=${(field?url)!}&originalField=${(originalField?url)!}&fileTypes=${fileTypes!}" target="ajax" rel="fileBox">
                <i class="thumb icon-folder-open-alt icon-large"></i>
                <p><@t.page 'button.return'/></p>
            </a>
        </div>
    </#if>
    <#list list as a>
   