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

Removing Pictures

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-07-2008, 12:13 PM
 
amadecs amadecs is offline
 

Member
  
Join Date: Jan 2008
Posts: 20
 

Default Removing Pictures

I tried searching for a thread that might explain this further, but couldn't find one.

I'm trying to do something with my images, and I know that I need to hard code it myself, but I'm wondering if anyone else has already made the code before.

So basically, I have about 3000 products in my store. Some of them have pictures, and others don't. I'd like to create an "if statement" that would remove the "no image available" box from only those products that do not have any images uploaded to them.

Any help would be much appreciated.

Thank you,
Amad
__________________
X-Cart: Version 4.1.9
Apache: Version 1.3.39 (Unix)
PHP: Version 5.2.4
Reply With Quote
  #2  
Old 03-07-2008, 12:21 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Removing Pictures

Just upload a transparent .gif file, or a 1 px image as the default_image.gif
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 03-07-2008, 01:21 PM
 
amadecs amadecs is offline
 

Member
  
Join Date: Jan 2008
Posts: 20
 

Default Re: Removing Pictures

Quote:
Originally Posted by balinor
Just upload a transparent .gif file, or a 1 px image as the default_image.gif

Balinor thanks for that. I actually tried that a little while ago, but the problem is that the default area for the image still remains the same, along with the "see details" label. so it makes my product list look really expanded.

I'd rather have a way of removing the image box completely.
__________________
X-Cart: Version 4.1.9
Apache: Version 1.3.39 (Unix)
PHP: Version 5.2.4
Reply With Quote
  #4  
Old 03-07-2008, 03:17 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Removing Pictures

If you set that table cell to be a fluid width instead of fixed it will scale down to nothing if there is no image there to stretch it.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 11:20 AM.

   

 
X-Cart forums © 2001-2020