Hi all..I have added this line of code to my category_item.php
<img alt="<?php echo K2HelperUtilities::cleanHtml($this->category->name); ?>" src="<?php echo $this->category->image; ?>" style="width:30px; height:30px;" />
It brings in my category images/icons well..please see:
oxfordshire-website-design.co.uk/JRF/resources-downloads/pdf-documents
However...how can I change the code so it works on the parent catgeory too...
oxfordshire-website-design.co.uk/JRF/resources-downloads/
ie...so my sub cats show their own image rather than the image of the parent cat.
Thanks
Gav
<img alt="<?php echo K2HelperUtilities::cleanHtml($this->category->name); ?>" src="<?php echo $this->category->image; ?>" style="width:30px; height:30px;" />
It brings in my category images/icons well..please see:
oxfordshire-website-design.co.uk/JRF/resources-downloads/pdf-documents
However...how can I change the code so it works on the parent catgeory too...
oxfordshire-website-design.co.uk/JRF/resources-downloads/
ie...so my sub cats show their own image rather than the image of the parent cat.
Thanks
Gav