| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Category image | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Category image
Is there a simple way to add a gif or multiple gif's within a specific category.
Eg. we have a cake category where a quote is required, currently the customer cannot purchase online at this stage. So we would like to display a number of pics between the dialog.tpl box and the category description. we have no subcategories. Can anyone help?
__________________
version 4.018 xcart |
|||||||
#2
|
|||||||
|
|||||||
Re: Category image
Just add them to the category description as html.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
Re: Category image
Thanks, I tried that with the following code:-
<img src="{$ImagesDir}/Justcoz.jpg"> and the result was just an outline of a box with a red x in the top left corner within a smaller box. I've used this bit of code in other parts of the web and it works fine. Am I missing something in the code or is there an alternative? Thanks.
__________________
version 4.018 xcart |
|||||||
#4
|
|||||||
|
|||||||
Re: Category image
You can't use Smarty in the category descriptions, you need to use regular html:
<img src="skin1/image/Justcoz.jpg" alt="">
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
Re: Category image
Thanks Balinor, but I still get the same result with just the x within the box.
Can I try something else?
__________________
version 4.018 xcart |
|||||||
#6
|
|||||||
|
|||||||
Re: Category image
Sorry, <img src="skin1/images/Justcoz.jpg" alt=""> is the correct code (add the missing s).
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
Re: Category image
Thanks Balinor,
Worked exactly how I wanted it.
__________________
version 4.018 xcart |
|||||||
|
|||
X-Cart forums © 2001-2020
|