Jump to content

[SOLVED] jqZoom and thickbox doesn't work


bahamont

Recommended Posts

jqzoom doesn't work.
When i click in a image, this open a new tab with the image.

 

What i can do?

 

This is the code:

{if $jqZoomEnabled}
     <a href="{$link->getImageLink($product->link_rewrite, $imageIds, 'thickbox_default')}" class="cloud-zoom-gallery" 
     title="{$image.legend|htmlspecialchars}" rel="useZoom: 'zoom1', smallImage: '{$link->getImageLink($product->link_rewrite, $imageIds, 
     'large_default')}'">
     <img id="thumb_{$image.id_image}" src="{$link->getImageLink($product->link_rewrite, $imageIds, 'medium_default')}" 
     alt="{$image.legend|htmlspecialchars}"  />
     </a>
{else}
     <a href="{$link->getImageLink($product->link_rewrite, $imageIds, 'thickbox_default')}" rel="other-views" 
     class="thickbox {if $smarty.foreach.thumbnails.first}shown{/if}" title="{$image.legend|htmlspecialchars}">
     <img id="thumb_{$image.id_image}" src="{$link->getImageLink($product->link_rewrite, $imageIds, 'medium_default')}" 
     alt="{$image.legend|htmlspecialchars}"  />
     </a>
{/if}
Link to comment
Share on other sites

Is a custom template, version : 1.6.0.6

 

Im using jquery 1.11.0 and jquery-migrate.1.2.1.

 

Can the error be that the version that require jqzoom is older than mine?
can i manage the version of jquery with a module?

This is the full code of my error:
Uncaught Error: Syntax error, unrecognized expression: input[@type=radio].star jquery-1.11.0.min.js.pagespeed.jm.VDIv7VBTRR.js:1
db.error                 jquery-1.11.0.min.js.pagespeed.jm.VDIv7VBTRR.js:1
ob                       jquery-1.11.0.min.js.pagespeed.jm.VDIv7VBTRR.js:1
xb                       jquery-1.11.0.min.js.pagespeed.jm.VDIv7VBTRR.js:1
db                       jquery-1.11.0.min.js.pagespeed.jm.VDIv7VBTRR.js:1
n.fn.extend.find         jquery-1.11.0.min.js.pagespeed.jm.VDIv7VBTRR.js:1
n.fn.init                jquery-1.11.0.min.js.pagespeed.jm.VDIv7VBTRR.js:1
e.fn.init                jquery-migrate-1.2.1.min.js.pagespeed.jm.mhpNjdU8Wl.js:1
n                        jquery-1.11.0.min.js.pagespeed.jm.VDIv7VBTRR.js:1
(anonymous function)     index.php?id_product=28&controller=product:585
j                        jquery-1.11.0.min.js.pagespeed.jm.VDIv7VBTRR.js:1
k.fireWith               jquery-1.11.0.min.js.pagespeed.jm.VDIv7VBTRR.js:1
n.extend.ready           jquery-1.11.0.min.js.pagespeed.jm.VDIv7VBTRR.js:1
K                        jquery-1.11.0.min.js.pagespeed.jm.VDIv7VBTRR.js:1
Edited by bahamont (see edit history)
Link to comment
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...