Show Category Images

<?php foreach((get_the_category()) as $cat)
{
$catname =$cat->category_nicename;
echo “< a href \”/category/”;
echo $catname;
echo “/\”>”;
echo “<img src\”/wp-content/cat-icons/”;
echo $catname;
echo “.png\” alt=\”$catname category image\” border=\”0\” />< /a >\n”; } ?>


Category Images