Вы здесь

Друпал 7: user-picture.tpl.php

user-picture.tpl.php — шаблон формирующий изображение пользователя.

Переменные

  • $user_picture: Image set by the user or the site's default. Will be linked depending on the viewer's permission to view the user's profile page
  • $account — массив информации об аккаунте (используйте функцию check_plain())

Пример шаблона

<?php if ($user_picture): ?>
  <div class="user-picture">
    <?php print $user_picture; ?>
  </div>
<?php endif; ?>