Reputation: 1879
For 6.1 there are solutions available to retrieve user profile pic like in this post, but how to get portrait image in Liferay 6.2?
Upvotes: 1
Views: 1749
Reputation: 1879
Earlier we required to concate some strings to create src, but now Liferay API provide the method i.e.
<img src="<%=themeDisplay.getUser().getPortraitURL(themeDisplay)%>" >
Thanks.
Upvotes: 2