| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Blue border around pics | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
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. |
|||||||
|
#2
|
|||||||
|
|||||||
|
This is because the thumbnail is a link (into the product) so you need to set border=0 in the thumbnail tpl.
|
|||||||
|
#3
|
|||||||
|
|||||||
|
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 ? |
|||||||
|
#4
|
|||||||
|
|||||||
|
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. |
|||||||
![]() |
|
| Thread Tools | Search this Thread |
|
|
|
|
|||
|
X-Cart forums © 2001-2020
|
|||