Acktarrus Posted February 10, 2014 Share Posted February 10, 2014 Bonjour, Je rencontre une problème d'affiche d'image de mes produits, lorsque j'ajoute une déclinaison, l'image produit ne se fait plus en popup mais dans la même page (_parent)... Ex : sans déclinaison en affichage en popup ok : http://uber-works.com/index.php?id_product=10&controller=product Avec déclinaison l'image principale ne s'agrandit plus et les thumbnails, s'ouvrent dansla page... : http://uber-works.com/index.php?id_product=34&controller=product J'ai cherché un peu partout sans succes, je pensais que ca venez du thickbox en modifiant le fichier product.tpl dans la partie thumbnail ca n'a rien donné... Voici le code du product.tpl : <!-- product img--> <div id="image-block"> {if $have_image} <span id="view_full_size"> <img src="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large_default')}" {if $jqZoomEnabled}class="jqzoom" alt="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'thickbox_default')}"{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> {else} <span id="view_full_size"> <img src="{$img_prod_dir}{$lang_iso}-default-large_default.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} </div> {if isset($images) && count($images) > 0} <!-- thumbnails --> <div id="views_block" class="clearfix {if isset($images) && count($images) < 2}hidden{/if}"> {if isset($images) && count($images) > 3}<span class="view_scroll_spacer"><a id="view_scroll_left" class="hidden" title="{l s='Other views'}" href="javascript:{ldelim}{rdelim}">{l s='Previous'}</a></span>{/if} <div id="thumbs_list"> <ul id="thumbs_list_frame"> {if isset($images)} {foreach from=$images item=image name=thumbnails} {assign var=imageIds value="`$product->id`-`$image.id_image`"} <li id="thumbnail_{$image.id_image}"> <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}" height="{$mediumSize.height}" width="{$mediumSize.width}" /> </a> </li> {/foreach} {/if} </ul> </div> {if isset($images) && count($images) > 3}<a id="view_scroll_right" title="{l s='Other views'}" href="javascript:{ldelim}{rdelim}">{l s='Next'}</a>{/if} </div> {/if} Es ce que quelqu'un a déjà eu ce probleme ? je suis sous prestashop 1.5.6.2 merci Link to comment Share on other sites More sharing options...
Gregory Roussac Posted February 12, 2014 Share Posted February 12, 2014 Hello, Sur firefox pas de soucis, à priori résolu ? Cordialement Link to comment Share on other sites More sharing options...
Acktarrus Posted February 12, 2014 Author Share Posted February 12, 2014 Oui résolu se matin suite à une mise à jours du thème. 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