I am making a movie review site for a friend. I want to have a different icon for each category (Good, bad, etc). I did a search and found a code that looks like this:
<img src="<?php the_category() ?>.jpg">
Well, that doesn't work. On the site it shows up like this:
The image itself is named General.jpg so I don't think it's a problem with the file name. Any ideas as to what I should do?