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)
-   -   Change Detailed Image Background Color? How? Please (https://forum.x-cart.com/showthread.php?t=6176)

caucus 01-25-2004 12:49 PM

Hello Again

This is from: File: /modules/Detailed_Product_Images/product_images.tpl
If you add text just above teh <div align=center> tag it shows up just above the image. Or if you delete this page nothing shows up for detailed image. So this is what displays the image but where do I put the <td bgcolor="#000000">

If I go like the following
<td bgcolor="#000000">
<div align=center>

A white column remains the width of deta of the detail Image section. However the rest of the picture backgorund is black. So it has to be the page that loads before this, I think?

Take a look at http://www.amaurydiaz.com/artwork/customer/product.php?productid=16133&cat=248&page=1

Code:

{* $Id: product_images.tpl,v 1.10 2003/08/11 10:45:10 svowl Exp $ *}
{if $images ne ""}
{capture name=dialog}
<div align=center>
{section name=image loop=$images}
{if $images[image].avail eq "Y"}
{if $images[image].tmbn_url}
[img]{$images[image].tmbn_url}[/img]
{else}
[img]{$xcart_web_dir}/product_image.php?imageid={$images[image].imageid}[/img]
{/if}




{/if}
{/section}
</div>
{/capture}
{if $smarty.capture.dialog ne ""}
{include file="dialog.tpl" title=$lng.lbl_detailed_images content=$smarty.capture.dialog extra="width=100%"}
{/if}
{/if}


adpboss 01-25-2004 12:54 PM

You can't use TD because you are not in the product detail table anymore. You need to create a new table that holds only the detailed images.

Shan's mod didn't work? The more I look at it, the more it looks like the answer.

caucus 01-25-2004 02:57 PM

Hello adpboss & Group

I will try it one more time, maybe I missed somthing and then I will post the links with the results.

caucus 01-25-2004 03:13 PM

Hello Group

It is close:
http://www.amaurydiaz.com/artwork/customer/product.php?productid=16133&cat=248&page=1

That is very clever one has the black around the wite edges. I think I missed a closing tag the first time. It is amazing one cannot make all of the white in the detail section black. Do you think that would look better?

You can look at the images on complete black at:
http://www.amaurydiaz.com/gallery/gallery02.htm

and click on one of the images. I thought all black sharpens the image.


All times are GMT -8. The time now is 08:22 PM.

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