wesmiler %!s(int64=5) %!d(string=hai) anos
pai
achega
262e1301a3
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      public/themes/mjmls/index/index/floor/brand.html

+ 2 - 2
public/themes/mjmls/index/index/floor/brand.html

@@ -35,9 +35,9 @@
                 <li>
                     <a href="/b{$v.id}/" title="{$v.title}" target="_blank">
                         <if condition="!$is_mobile">
-                            <img  src="{:cmf_get_image_preview_url($v.logo)}?v=1" width="174" height="130" alt="{$v.title}" onerror="imageError(this)">
+                            <img class="lazyload" data-src="{:cmf_get_image_preview_url($v.logo)}?v=1" width="174" height="130" alt="{$v.title}" onerror="imageError(this)">
                             <else/>
-                            <img  src="{:cmf_get_image_preview_url($v.logo)}?v=1" width="174" onload="resetSize(this)" height="130" alt="{$v.title}" onerror="imageError(this)" >
+                            <img class="lazyload" data-src="{:cmf_get_image_preview_url($v.logo)}?v=1" width="174" onload="resetSize(this)" height="130" alt="{$v.title}" onerror="imageError(this)" >
                         </if>
 
                         <h3 class="nowrap">{$v.title}</h3>