X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Pb with automatic stretching box (https://forum.x-cart.com/showthread.php?t=23492)

gallica 07-22-2006 07:56 AM

Pb with automatic stretching box
 
Hi everyone,

I've modified my product.tpl to incorporate 3 columns of small thumbnails.

Here is the code we use :
Code:

{*** Detailed Image Popup mod by www.cart-lab.com ***}
{include file="detailed_popup_js.tpl"}
{if $active_modules.Detailed_Product_Images ne "" && $images}{strip}<A HREF="javascript: productimagedetail({$product.productid});">{/strip}{/if}
{if $active_modules.Detailed_Product_Images ne ""}
<table border=0 align="center" >
  {if $productids ne ''}
{/if}
  {section name=image loop=$images}
  {if $smarty.section.image.index is div by 3}
    <tr valign="top">
  {/if}
  <td valign="top"><div align="center">[img]{$xcart_web_dir}/product_image.php?imageid={$images[image].imageid}[/img]</div></td>
  {/section}
</tr>
</table>
{/if}
{if $active_modules.Detailed_Product_Images ne "" && $images}{strip}

<CENTER>
  [img]{$ImagesDir}/loupe.gif[/img]Zoom sur images
</CENTER></A>{/strip}{/if}
{*** Detailed Image Popup mod by www.cart-lab.com ***}


Evrything could be ok except the fact in Opera the box is completety strecht over the fixed size we have for screen resolution 800x500.

http://www.france-modelisme.com/~boutique/tmp/ope9.jpg

With the fox or IE, it's better but we would like to have no big space between thumbnails as it is.
http://www.france-modelisme.com/~boutique/tmp/firefox.jpg

What do we need to fix to get this displayed correctly
thanks.
Pat.

balinor 07-30-2006 03:32 AM

Images aren't showing...


All times are GMT -8. The time now is 07:18 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.