Jump to content

Change Jqzoom onclick image


Recommended Posts

Hello,

 

In my shop I use the Jqzoom feature. Once I click on the large product image, a thickbox pop-up appears with an 800x800 image (defined as 'thickbox'). I want this pop-up image to have its original ratio (4:3) and 1200x900 pixels big.

 

In Preferences > Images I've made a new image property named 'extra-groot' and dimension: 1200x900 pixels.

 

Were do I change this in the code? In the product.tpl or a javascript file?

 

This is the code in product.tpl

 

<div id="image-block" class="bordercolor">
  {if $have_image}
  <img src="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large')}"
   {if $jqZoomEnabled}class="jqzoom" alt="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'thickbox')}"{else} title="{$product->name|escape:'htmlall':'UTF-8'}" alt="{$product->name|escape:'htmlall':'UTF-8'}" {/if} id="bigpic" width="{$largeSize.width}" height="{$largeSize.height}" />
  {else}
  <img src="{$img_prod_dir}{$lang_iso}-default-large.jpg" id="bigpic" alt="" title="{$cover.legend|escape:'htmlall':'UTF-8'}" width="{$largeSize.width}" height="{$largeSize.height}" />
  {/if}
 </div>

 

Thanks in advance for your help.

Link to comment
Share on other sites

  • 1 month later...
×
×
  • Create New...