cclove Posted April 8, 2010 Share Posted April 8, 2010 在PS中如果一个产品你添加了几张图片,那么在大图下面就会有几张小图,我想把这些小图调用到下面的more info中来,我在模板中的product.tpl文件中添加了下面这段代码 > </pre> <ul> {foreach from=$images item=image name=thumbnails} {assign var=imageIds value=`$product->id`-`$image.id_image`} getImageLink($product->link_rewrite, $imageIds, 'thickbox')}" rel="other-views" class="{if !$jqZoomEnabled}thickbox{/if} {if $smarty.foreach.thumbnails.first}shown{/if}" title="{$image.legend|htmlspecialchars}"> getImageLink($product->link_rewrite, $imageIds, 'infoimg')}" alt="{$image.legend|htmlspecialchars}" height="{$infoimgSize.height}" width="{$infoimgSize.width}" /> {/foreach} </ul> 并在后台新建了个参数infoimg来定义图片大小,测试的时候就在IE内核的浏览器中不显示图片,其它浏览器都显示,不明白为什么,想问问大家在这里,谢谢!!! Link to comment Share on other sites More sharing options...
cclove Posted April 8, 2010 Author Share Posted April 8, 2010 都没人来帮我 :down: Link to comment Share on other sites More sharing options...
21846657 Posted April 8, 2010 Share Posted April 8, 2010 这是css代码的cross-browser compatibility问题。建议用firefox + firebug来解决。 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now