View Single Post
  #1002  
Old 07-04-2015, 07:54 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
Phil - how do I remove lazy loading of category images?

Edit skin/reboot/customer/main/subcategories_t.tpl replace...

Code:
<img class="lazy" src="{$AltImagesDir}/spacer.gif" data-src="{get_category_image_url category=$subcategory}" alt="{$subcategory.category|escape}" />
with...
Code:
<img src="{get_category_image_url category=$subcategory}" alt="{$subcategory.category|escape}" />
reBOOT v4 will use a different lazy loading technique. Planning to release v4 mid July.
__________________
xcartmods.co.uk
Reply With Quote