| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Removing Pictures | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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 |
|||||||
#2
|
|||||||
|
|||||||
![]() 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 |
|||||||
#3
|
|||||||
|
|||||||
![]() Quote:
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 |
|||||||
#4
|
|||||||
|
|||||||
![]() 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 |
|||||||
|
|||
X-Cart forums © 2001-2020
|