auwebmania Posted January 3, 2013 Share Posted January 3, 2013 Hello, i have a issue regarding 1 module ( MGC Carousel) the problem is that the image are not displayed properly. When i check the image url link, it's like : http://www.mondomaine.com/mondomaine.com/img/1/....... I don't know why in the link i have twice the domaine URL. I make some modification in the TPL file, but without success. Maybe can someone help me ? i think it's a variable in the TPL file that is not set properly. See code in attachement. Thanks a lot <!-- jCarousel library --> <script type="text/javascript" src="{$base_dir}modules/homecarousel/jcarousel/lib/jquery.jcarousel.pack.js"></script> <!-- jCarousel core stylesheet --> <link rel="stylesheet" type="text/css" href="{$base_dir}modules/homecarousel/jcarousel/lib/jquery.jcarousel.css" /> <!-- jCarousel skin stylesheet --> <link rel="stylesheet" type="text/css" href="{$base_dir}modules/homecarousel/jcarousel/skins/tango/skin.css" /> {if $autoplay} <script type="text/javascript"> var carousel_autoplay = '{$autoplayduration}'; var carousel_items_visible = '{$itemsvisible}'; var carousel_scroll = '{$itemsscroll}'; </script> {else} <script type="text/javascript"> var carousel_autoplay = 0; var carousel_items_visible = '{$itemsvisible}'; var carousel_scroll = '{$itemsscroll}'; </script> {/if} <script type="text/javascript" src="{$base_dir}modules/homecarousel/homecarousel.js"></script> <!-- MODULE Home Featured Products --> {if isset($products) AND $products} <ul id="mycarousel" class="jcarousel-skin-tango"> {foreach from=$products item=product name=homeFeaturedProducts} {assign var='productLink' value=$link->getProductLink($product.id_product, $product.link_rewrite)} <li> <a href="{$product.link}" title="{$product.name|escape:html:'UTF-8'}" class="product_image"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')}" height="{$homeSize.height}" width="{$homeSize.width}" alt="{$product.name|escape:html:'UTF-8'}" /></a> {if $displayname} <h5><a href="{$productLink}" title="{$product.name}">{$product.name|escape:htmlall:'UTF-8'|truncate:45}</a></h5> {/if} {if $displayprice} <p> <span class="price">{displayWtPrice p=$product.price}</span> </p> {/if} </li> {/foreach} </ul> {else} <p>{l s='No products for carousel' mod='homecarousel'}</p> {/if} <!-- /MODULE Home Featured Products --> Link to comment Share on other sites More sharing options...
auwebmania Posted January 9, 2013 Author Share Posted January 9, 2013 Personne ne peux m'aider ? 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