16 August, 2011

User portrait Image

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&amp;" alt="Test Test" width="25">

Popular Posts

Featured Post

Liferay 7.3 compatibility matrix

Compatibility Matrix Liferay's general policy is to test Liferay Portal CE against newer major releases of operating systems, open s...