hi everyone....well this thread is pretty old, but i hope that somebody can help
just wanted to do the same as TIMT:
show a defined picture with described mod. Otherwise, if no picture is set, display a random one from the category.
- random picture works
- mod with defined picture works
but there is no "else" or "if no cat image" in category_bit.html. So instead of only seeing the defined picture, I see the random one too - hope this is clear to understand.
thanks in advance
added code from category_bit.
<td valign="top">
{if cat_image}<img src="{cat_image}" width="60px" height="45px">{endif cat_image}
{if random_cat_image_file}<img src="{random_cat_image_file}" width="60px" height="45px">{endif random_cat_image_file}
</td>