{assign var=imageOnLeftClass value='quiqqer-textImage__imageOnRight'} {if $imageOnLeft} {assign var=imageOnLeftClass value='quiqqer-textImage__imageOnLeft'} {/if} {assign var=imageZoomClass value=''} {if $imageZoom} {assign var=imageZoomClass value='quiqqer-textImage-image__imageZoom'} {/if}
{if $imageOnLeft}
{if $img} {assign var=inlineStyle value=''} {if $maxImageWidth} {assign var=inlineStyle value="max-width: {$maxImageWidth}px; width: 100%;"} {/if} {image src=$img width=$maxImageWidth style=$inlineStyle class="{$imageShadow}" loading="lazy" data-zoom="$imageZoom" data-src="{$img}"} {/if}
{if $this->getAttribute('showTitle') && $this->getAttribute('frontendTitle')}
{/if} {$this->getAttribute('content')}
{else}
{if $this->getAttribute('showTitle') && $this->getAttribute('frontendTitle')}
{/if} {$this->getAttribute('content')}
{if $img} {assign var=inlineStyle value=''} {if $maxImageWidth} {assign var=inlineStyle value="max-width: {$maxImageWidth}px; width: 100%;"} {/if} {image src=$img width=$maxImageWidth style=$inlineStyle class={$imageShadow} loading="lazy" data-zoom="$imageZoom" data-src="{$img}"} {/if}
{/if}