{strip}
    {if !empty($section.gallery)}
        {assign var=banner value=$section.gallery|element:'position':'banner'}
        {if !empty($banner)}
            <div class="banner">
                <img src="{$banner.original}" alt="{$banner.title}"/>
            </div>
        {/if}
    {/if}
{/strip}