Building a grid view of profile pictures

By default, in Drupal, there is no default output of the users registered on the site. In this recipe, we will create a staff-listing page which displays the profile pictures of all staff members above their names and job titles.

Getting ready

Before starting this recipe you will need to install the latest recommended releases of the following two modules:

Once you have installed these modules, enable the following features:

  • Chaos tools
  • Views
  • Views UI

How to do it...

In this recipe, we will first add some extra fields to the user profile; we will also be adding a new Employee user role. We will then make a View to display the staff members in a grid ...

Get Drupal 7 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.