title: Liferay template get profile picture
body: <p>Hello i'm using Freemarker and i have to get the profile picture of user, i have the object user with the portraitId, but i don't know how get Theme Display for get the path or something... I've tried use this:</p>
  
  <pre><code>src="/image/user_male_portrait?img_id=${user.getPortraitId()}&amp;img_id_token="
  </code></pre>
  
  <p>But i can't get the token, because i don't know :(</p>
  
  <pre><code>&lt;#assign UserLocalService = serviceLocator.findService("com.liferay.portal.service.UserLocalService")&gt;
  &lt;#assign user = UserLocalService.getUserById(27132)&gt;
  </code></pre>
  
  <p>Someone know how get profile picture in freemarker?</p>