Thread:Project:Forum/Image acoording to category of the page

Hi,

In my wiki, some pages work like indexes and the other always belong to one specific category among 4 possibilities. I want to, according to the category, insert a image at the corner of the page (location and position of the image is not a problem), but i dont know how to get the category of a loaded page.

Is there some extension or script that does it? Is there some other easier way to do it?

thanks