Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Change Detailed Image Background Color? How? Please

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 01-25-2004, 12:49 PM
  caucus's Avatar 
caucus caucus is offline
 

eXpert
  
Join Date: Oct 2003
Location: FLorida U.S.A
Posts: 356
 

Default

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}
__________________
Staying To The Right
But Left of Rush

X-cart Current version: 4.4.2
X-cart Current version: 4.4.1
X-cart Version 4.0.14
X-cart Version 4.1.6
Litecomm Version: 2.2.35
Operating System Linux
PHP Version 5.2.14
Apache/2.2.16 (Unix)
MySQL client version: 5.091
Reply With Quote
  #12  
Old 01-25-2004, 12:54 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

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.
Reply With Quote
  #13  
Old 01-25-2004, 02:57 PM
  caucus's Avatar 
caucus caucus is offline
 

eXpert
  
Join Date: Oct 2003
Location: FLorida U.S.A
Posts: 356
 

Default

Hello adpboss & Group

I will try it one more time, maybe I missed somthing and then I will post the links with the results.
__________________
Staying To The Right
But Left of Rush

X-cart Current version: 4.4.2
X-cart Current version: 4.4.1
X-cart Version 4.0.14
X-cart Version 4.1.6
Litecomm Version: 2.2.35
Operating System Linux
PHP Version 5.2.14
Apache/2.2.16 (Unix)
MySQL client version: 5.091
Reply With Quote
  #14  
Old 01-25-2004, 03:13 PM
  caucus's Avatar 
caucus caucus is offline
 

eXpert
  
Join Date: Oct 2003
Location: FLorida U.S.A
Posts: 356
 

Default

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.
__________________
Staying To The Right
But Left of Rush

X-cart Current version: 4.4.2
X-cart Current version: 4.4.1
X-cart Version 4.0.14
X-cart Version 4.1.6
Litecomm Version: 2.2.35
Operating System Linux
PHP Version 5.2.14
Apache/2.2.16 (Unix)
MySQL client version: 5.091
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:52 PM.

   

 
X-Cart forums © 2001-2020