{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} {if $imageLoading == 'eager'} {image src=$img width=$maxImageWidth style=$inlineStyle class="{$imageShadow}" loading="eager" fetchpriority="high" data-zoom="$imageZoom"} {else} {image src=$img width=$maxImageWidth style=$inlineStyle class="{$imageShadow}" loading="lazy" data-zoom="$imageZoom" data-src="{$img}"} {/if} {/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} {if $imageLoading == 'eager'} {image src=$img width=$maxImageWidth style=$inlineStyle class="{$imageShadow}" loading="eager" fetchpriority="high" data-zoom="$imageZoom"} {else} {image src=$img width=$maxImageWidth style=$inlineStyle class="{$imageShadow}" loading="lazy" data-zoom="$imageZoom" data-src="{$img}"} {/if} {/if}
{/if}