Note: You are currently viewing documentation for Moodle 3.3. Up-to-date documentation for the latest stable version of Moodle is probably available here: User pictures.

User pictures

From MoodleDocs
Revision as of 01:25, 26 October 2011 by chris collman (talk | contribs) (→‎Updating user pictures: copy stuff from add a new user)

User pictures

Every user on Moodle is able to have their own personal profile picture (or "avatar") which can be uploaded via their profile. If no picture has been uploaded then the default is:

F1.png

Viewing all user pictures

Updating user pictures

Settings block >My profile > Edit profile Users can update their picture by editing their user profile. The site administrator can disable this ability in Settings > Site administration > Security > Site policies.

The user's picture (also known as an Avatar) is usually displayed next to the user's name. For example, next to content they have has posted in a forum, or in a Participant list.

There is a default image that is used by the Moodle site. The site administrator can change the default images. Here is the standard default "f1" image.

F1 user default image.jpg
  • There is a delete button when checked and the profile is saved, will delete the picture
  • There is a browse button for the user to find and upload a file.
  • The upload image will be reduced and saved in two files of 100px by 100px and 35px by 35px.
  • The picture description appears whent he mouse rolls over the picture.
TIP: The site administrator can view all uploaded user pictures via the URL <moodle url>/userpix/. For example http://demo.moodle.org/userpix/.
TIP: Want the default picture to be blank? Replace the picture with a file that has 1 white pixel.
TIP: The site administrator can change the default picture for the site by replacing the F1 and F2 images in the theme or pic folders.

Uploading user pictures in bulk

An administrator can upload a zip file containing user images in Settings > Site administration > Users > Accounts > Upload user pictures.

Uploaduserpictures.png

  • The image files should be named after the username, the idnumber or the id of the student (along with the correct image file extension.) For example, a student with the username jbrown98 would have a picture called jbrown98.jpg
  • Image types supported include gif, jpg, and png.
  • Image file names are not case sensitive.