{extends_parent}

{block "sections-responsive-image"}
    {if $item.level >= 0 and $item.photo}
       <span class="figure">
          <img src="{get_photo photo=$item.photo type=section size='subsections'}"
               loading="lazy" alt="{$item.title_short}" width="{$photo_dimensions[0]}" height="{$photo_dimensions[1]}"
               class="img-responsive">
       </span>
    {/if}
{/block}
