     <#assign filePath=path?has_content?then(path+'/','')+a.fileName/>
        <div class="image-list">
            <#if a.directory>
                <a href="common/file_list.html?path=${filePath?url}&field=${(field?url)!}&originalField=${(originalField?url)!}&fileTypes=${fileTypes!}" target="ajax" rel="fileBox" title="${filePath}">
                    <i class="thumb icon-folder-close-alt icon-large"></i>
                    <p>${a.fileName}</p>
                </a>
            <#elseif !fileTypes?has_con