Skip to content
Code-Schnipsel Gruppen Projekte
Commit 70b0876c erstellt von Michael Danielczok's avatar Michael Danielczok
Dateien durchsuchen

fix: data-src attribute for images, so zoom can work properly.

Übergeordneter 101ba232
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -19,7 +19,7 @@
{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"}
{image src=$img width=$maxImageWidth style=$inlineStyle class="{$imageShadow}" loading="lazy" data-zoom="$imageZoom" data-src="{$img}"}
{/if}
</div>
<div class="quiqqer-textImage-box quiqqer-textImage-content {$textWidthClass} mobile-grid-100"
......@@ -54,7 +54,7 @@
{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"}
{image src=$img width=$maxImageWidth style=$inlineStyle class={$imageShadow} loading="lazy" data-zoom="$imageZoom" data-src="{$img}"}
{/if}
</div>
{/if}
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren