This is a simple Report which displays the profile pictures for all users enrolled in the Course.
There are two options when viewing the roster. One is to toggle the "Learning mode," which turns the display of names on and off. The other is a "Printable" view, which brings up a version of the report suitable for printing. You can also filter by Group.
Navigate to Administration > Report > Roster, or click here to see the report.