真想知道商品详细页面的图片如何设置成500*400

2016-07-07 15:25 来源:www.chinab4c.com 作者:ecshop专家



http://www.51qyzd.com/goods-235.html

希望可以告之具体更改哪个文件,及具体参数,

本人小菜,刚入shop之门,感激帮顶帮助之友

以查论坛搜索帮助,试之都不通

回答:
此贴必顶

http://bbs.ecshop.com/thread-95341-1-1.html
参考63

style.css
/* ====================
商品详情页面部分模块
==================== */
#goodsInfo{background:url(images/3_bj.jpg) no-repeat; padding:8px 8px 8px 58px; _height:1%;}
#goodsInfo .imgInfo{width:500px; float:left;margin-right:10px; overflow:hidden;}
#goodsInfo .imgInfo .thumb{width:500px; height:400px; display:block;}/*商品详情图片*/

goods.dwt
<!--商品图片和相册 start-->
<div class="imgInfo">
<!-- {if $pictures}-->
<a href="{$pictures.0.img_url}" id="zoom1" class="MagicZoom MagicThumb" title="{$goods.goods_style_name}">
<img src="{$goods.goods_img}" alt="{$goods.goods_name|escape:html}" width="500px;"/>
</a>
<!-- {else} -->
<a href="{$pictures.0.img_url}" id="zoom1" class="MagicZoom MagicThumb" title="{$goods.goods_style_name}">
<img src="{$goods.goods_img}" alt="{$goods.goods_name|escape:html}" width="500px;"/>
</a>
<!-- {/if}-->

多谢楼上的