0

I use Smarty 2 at my website and I would like to use jQuery LazyLoad also.

I use html_thumb to generate thumbinail, how can I adapt this

{html_thumb 
      src=$appconfig.image.product.app.path|cat:$item.id|cat:$smarty.const.DS|cat:$item.NAME_OF_PICTURE_IN_BASE 
      error_image_path=$appconfig.image.product.thumb.web.error 
      save_path=$appconfig.image.product.thumb.app.path|cat:$item.id|cat:$smarty.const.DS 
      display_path=$appconfig.image.product.thumb.web.path|cat:$item.id|cat:"/" 
      alt=$item.name 
      w=119 
      h=102 
      zc=0 
      far=1 
      bgcolor='FFFFFF' 
      q=100} 

To use LazyLoad, example:

<img data-original="img/example.jpg" src="img/grey.gif" width="640" height="480">

Thank you.

4

0 回答 0