{if $this->getAttribute('showTitle') && $this->getAttribute('frontendTitle')}

{$this->getAttribute('frontendTitle')}

{/if} {if $this->getAttribute('content') != ""}
{$this->getAttribute('content')}
{/if} {foreach from=$entries item=entry key=key} {image src=$entry.img width=1000 onlysrc=true assign=img} {assign var=modKey value=$key+1}
{if !$this->getAttribute( 'startImgOnLeft' )}
{if $img != ""} {image src=$entry.img class="content-switcher-image-img"} {/if}

{$entry.title}

{$entry.content}

{else}
{if $img != ""} {image src=$entry.img class="content-switcher-image-img"} {/if}

{$entry.title}

{$entry.content}

{/if}
{/foreach}