Jump to content

怎样调用某一个产品下的图片到more info中来


Recommended Posts

在PS中如果一个产品你添加了几张图片,那么在大图下面就会有几张小图,我想把这些小图调用到下面的more info中来,

    {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}" />



Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More