I wish to show it on a Widgetkit menu item. Currently, I have the html that is showing the default image hardcoded, so that it shows either default avatar image or uploaded avatar depending on the user. But I wish to add for example [cb:userfield field="avatar" reason="list" /] here. How to add in/substitute the html code like below?
<img src="images/comprofiler/cb_freedomimage_760_5a105ac1b4265.png" style="width: 30px; height:30px; padding-top: 3px;"><span style="color: #FFF;"> Your Profile</span>