解决ECShop首页缩略图和产品页图片模糊方法

来源:互联网 发布:mac下方图标隐藏 编辑:程序博客网 时间:2024/06/09 18:12

    第一:解决首页“新品上架”、“热卖商品”、“精品推荐”栏目里的缩略图模糊:

依次打开Themes/模板文件/library/下的recommend_new.lbi 、recommend_hot.lbi 、recommend_best.lbi ,

将 

<img src="{$goods.thumb}" alt="{$goods.name|escape:html}" class="goodsimg" />  

替换成:

<img src="{$goods.goods_img}" alt="{$goods.name|escape:html}" class="goodsimg" />

    第二:解决产品页(商品页)图片模糊方法:

打开在Themes/模板文件/下打开good.dwt

<img src="{$goods.goods_img}" alt="{$goods.goods_name|escape:html}" width="360px;" height="360px"/>

替换成:

<img src="{$goods.original_img}" alt="{$goods.goods_name|escape:html}" width="360px;" height="360px"/>


完毕!

0 0