Jump to content

Prestashop Theme 1.4.5 et bugs jQZoom, Help !


Recommended Posts

Bonjour,

 

J'ai installé Prestashop, J'ai installé le thème 1.4.5, t j'ai activer le jqZoom...

Mais chaque image de chaque fiche produit n'est plus visible.

 

J'ai donc était dans le product.tpl et j'ai trouvé ça :

 

<!-- right infos-->
<div id="pb-right-column">
 <!-- product img-->
 <div id="image-block">
 {if $have_image}
  {if $have_image && !$jqZoomEnabled}
  <span id="view_full_size">
<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}" />
<span class="span_link">{l s='View full size'}</span>
  </span>
  {/if}
 {else}
  {if $have_image && !$jqZoomEnabled}
  <span id="view_full_size">
<img src="{$img_prod_dir}{$lang_iso}-default-large.jpg" id="bigpic" alt="" title="{$product->name|escape:'htmlall':'UTF-8'}" width="{$largeSize.width}" height="{$largeSize.height}" />
<span class="span_link">{l s='View full size'}</span>
  </span>
  {/if}
 {/if}
 </div>

 

J'ai vu qu'il y avait une incohérence puisque deux test identique pour le jqZoomEnabled... J'ai donc modifié le premier test comme ceci :

 

{if $have_image && $jqZoomEnabled}
  <span id="view_full_size">
<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}" />
<span class="span_link">{l s='View full size'}</span>
  </span>
  {/if}

 

Maintenant j'ai l'image du produit, et quand je vais dessus pour zoomer, je dicerne un bout de l'image zoomer, mais malgré que je bouge la souris, le zoom ne bouge presque pas.

 

Que dois-je modifié pour palier à ce problème ?

Le thème est-il incompatible ??

 

Merci de votre aide.

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...