Group or User Icons on event listings

Can anyone help me with putting the event owner (group or user depending on ownersip) onto the agenda and widget views?

I have trawled through lots of pages of php and the elgg guide, but having added various bits of code into my event agena view and crashed it every time (I can get the logged in user icon to appear, but not the event owner) I have to admit it is beyond my IQ.

Does anyone have a code snippet that I could use, please?