<{assign var="_gimages" value="gimages"}> <{assign var="_small" value="small"}> <{assign var="_big" value="big"}> <{assign var="_thumbnail" value="thumbnail"}>
<{if $env.conf.site.reading_glass}>
<{/if}>

<{if $images.gimages}>

<{if $imgtype != 'spec'}> <{assign var=smallImg value=$images[$_gimages][$goods.image_default][$_small]}> <{assign var=bigImg value=$images[$_gimages][$goods.image_default][$_big]}> <{assign var=thumbnailImg value=$images[$_gimages][$goods.image_default][$_thumbnail]}>
<{/if}> <{foreach from=$images.gimages item=thumb name=gimgs }> <{if $thumb.gimage_id == $goods.image_default && $imgtype != 'spec'}> <{continue}> <{/if}> | <{/foreach}>

<{/if}>

<{img src="statics/icons/btn_goods_gallery.gif" alt="查看大图"}>