View Single Post
  #2  
Old 04-06-2015, 02:33 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: is there a better way to do this?

Looks to me like these lines:

Code:
{if $image_x ne 0} width="{$image_x}"{/if} {if $image_y ne 0} height="{$image_y}"{/if} alt="{$product|escape}" title="{$product|escape}" />

Should read:

Code:
{if $notlazy} {if $image_x ne 0} width="{$image_x}"{/if} {if $image_y ne 0} height="{$image_y}"{/if} alt="{$product|escape}" title="{$product|escape}" /> {/if}
Reply With Quote