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)
-   -   Removing Pictures (https://forum.x-cart.com/showthread.php?t=38122)

amadecs 03-07-2008 12:13 PM

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

balinor 03-07-2008 12:21 PM

Re: Removing Pictures
 
Just upload a transparent .gif file, or a 1 px image as the default_image.gif

amadecs 03-07-2008 01:21 PM

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.

balinor 03-07-2008 03:17 PM

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.


All times are GMT -8. The time now is 06:51 PM.

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