Status icon shows as up.gif instead of green icon

Hi,

I've used a few examples but the output of my query still shows up.gif instead of the green status icon. Do you have to specify the specific up.gif each time or can you use StatusIcon and this will dynamically update the icon dependent on the status?