MrBaseball34 Posted September 21, 2010 Share Posted September 21, 2010 I'm trying to do something like this: <img src={$link->getImageLink('$product->reference','$product->id','large')}" {if $jqZoomEnabled}class="jqzoom" alt="{$link->getImageLink('$product->name','$product->id','thickbox')}"{else} title="{$product->name|escape:'htmlall':'UTF-8'}" alt="{$product->name|escape:'htmlall':'UTF-8'}" {/if} id="bigpic"/> But I keep getting '$product->reference' passed as the $name and '$product->id' passed as $ids to getImageLinkAm I going to have to create the entire call using a capture?OOPS, Smarty, not jQuery... Link to comment Share on other sites More sharing options...
MrBaseball34 Posted September 21, 2010 Author Share Posted September 21, 2010 remove the single quotes and it works... getImageLink($product->reference,$product->id,'large')} [/code] 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