ID:953340
 
(See the best response by GreatFisher.)
I want to put an icon at the info window, is there a tutorial to how do this? If so, i don't found it, can someone post the link? or some sort of an exemple? i want to put a image on a stat panel, like:

Job: (image:Knight)


Best response
Well you could make an obj with the desired icon as it's icon and use a stat() to show it like:
mob
var/obj/job_icon = new/obj/job_icon/knight

Stat()
statpanel("Job")
stat("Job :", job_icon)

obj
job_icon
knight
icon = 'knight.dmi'

Only downfall(I think) is that the icon for the obj will have to be 32x32 otherwise it gets squished.
Here's a fairly old (but still relevant) tutorial on Buttons in Statpanels. It goes beyond just displaying an icon by showing that you can also interact with it.
Thanks for the help of you both =)
Solved my problem.