解決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"/>


完畢!

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