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

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

依次打开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"/>


完毕!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章