{foreach $categories as $section}
   <div class="subsection-item result-item">
      <a href="{url s=category IDcat=$section.id}" class="subsection-item-inner" title="{$section.name}">
         <div class="subsection-item-image">
            {$photo_dimensions = $cfg.Photo.types["subsections"].size}
            <img src="{get_photo photo=$section.photo type=section size='subsections'}" alt="{$section.title}" width="{$photo_dimensions[0]}" height="{$photo_dimensions[1]}">
         </div>
         <div class="subsection-item-title">
            <span>{$section.title}</span>
         </div>
      </a>
   </div>
{/foreach}
