Hi there!
I've got simple question - how to load avatar author of article in category view?
In item view, code is very simple:
<img style="height:16px !important;" src="<?php echo $this->item->author->avatar; ?>" />
But in category view, I can't load the same avatar...
I've tried something like this:
<img src="<?php echo K2HelperUtilities::getAvatar($this->item->author->profile->avatar); ?>"/>
and many other paths but doesn't work :(
please... help.. :-)
best regards!
Adam
I've got simple question - how to load avatar author of article in category view?
In item view, code is very simple:
<img style="height:16px !important;" src="<?php echo $this->item->author->avatar; ?>" />
But in category view, I can't load the same avatar...
I've tried something like this:
<img src="<?php echo K2HelperUtilities::getAvatar($this->item->author->profile->avatar); ?>"/>
and many other paths but doesn't work :(
please... help.. :-)
best regards!
Adam