added support for category images and a conditional check function for c...

...ategories so that the body class thing could be added closes #27