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)
-   -   Blue border around pics (https://forum.x-cart.com/showthread.php?t=3403)

ambermoon 07-01-2003 03:11 AM

Blue border around pics
 
Why do I get blue borders around my images ?
http://www.amber-moon.com/auau/store/customer/home.php?cat=2
I only get them in the thumnails not in the normal size images and there is nothing in the 'products.tpl' file indicating a border.

magnumkp 07-01-2003 04:09 AM

This is because the thumbnail is a link (into the product) so you need to set border=0 in the thumbnail tpl.

ambermoon 07-01-2003 04:45 AM

It is true that i's because it's a link, however, I'm not using the thumnail.tpl, I'm calling the images like this in the products.tpl :
<div align="center"><a href=product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}>[img]{$ImagesDir}/image/{$products[product].imagecode}[/img]


{ $lng.lbl_see_details }</a></div>

Any other ideas ?

magnumkp 07-01-2003 05:04 AM

Add to:
[img]{$ImagesDir}/image/{$products[product].imagecode}[/img]

border="0"

so you get:
[img]{$ImagesDir}/image/{$products[product].imagecode}[/img]

That should work. I think.


All times are GMT -8. The time now is 01:42 AM.

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