Hello Liferay Rockers,
if you want to use liferay user portrait in theme(I men in velocity template (or .vm file)) then you can use below 1 line of code and can get portrait image in theme.
<img src="/image/user_male_portrait?img_id=$user.portraitId&" alt="Test Test" width="25">
if you want to use liferay user portrait in theme(I men in velocity template (or .vm file)) then you can use below 1 line of code and can get portrait image in theme.
<img src="/image/user_male_portrait?img_id=$user.portraitId&" alt="Test Test" width="25">