Difference between revisions of "User pictures"

Jump to: navigation, search

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.

(added screencast)
(path updates)
 
(20 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{{Accounts}}
 
{{Accounts}}
==User pictures==
+
==Viewing all 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:
+
*An administrator can do a quick check of the user pictures by typing in the browser http://www.YOURMOODLESITE.com/userpix when logged in as admin.
  
[[File:F1.png]]
+
== Updating user pictures ==
  
==Viewing all user pictures==
+
Users can update their picture by editing their profile via their user menu. (The site administrator can disable the ability for users to change their profile image in ''Site administration > Security > Site policies''.)
*An administrator can do a quick check of the user pictures by typing in the browser http://www.YOURMOODLESITE.com/userpix when logged in as admin.
 
*Moodle.org has a modified version of this http://moodle.org/userpics/ - which shows to everyone the profile pictures of the 150 most recent logged-in users.
 
  
==Updating user pictures==
+
A user's picture is normally displayed next to the their nameFor example, next to content they have has posted in a forum, or in a participant list.
''Settings block >My profile > Edit profile''
 
Users can update their picture by editing their user profileThe 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 nameFor 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 siteThe site administrator can change the default picture for the site by replacing the F1 and F2 images in the theme folder '''/theme/''themename''/pix_core/u/''' or in the core folder '''/pix/u/'''. Remember to refresh your browser [Ctrl + F5] to see any picture changes!
  
There is a default image that is used by the Moodle site.  The site administrator can change the default images.
+
* There is a delete box when checked will delete the picture when the profile is saved.
[[Image:F1 user default image.jpg|thumb|center|An example of the old default image.]]
+
* There is a browse button for the user to find and upload a picture file.   
*There is a delete box when checked will delete the picture when the profile is saved.
+
* The upload image will be reduced and saved in two files of 100px by 100px and 35px by 35px.  
*There is a browse button for the user to find and upload a picture file.   
+
* The picture description appears when the mouse rolls over the picture.
*The upload image will be reduced and saved in two files of 100px by 100px and 35px by 35px.  
 
*The picture description appears when the mouse rolls over the picture.
 
  
:''TIP:'' The site administrator can view all uploaded user pictures via the URL <moodle url>/userpix/. For example <nowiki>http://demo.moodle.org/userpix/</nowiki>.
+
Tip: If you want the default picture to be blank, then replace it with a 1px x 1px transparent spacer image with the same filename. It can be either a '.png' or '.gif' file extension.
:''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.
 
:''TIP:'' Remember to refresh your browser to see any picture changes.
 
  
 
==Uploading user pictures in bulk==
 
==Uploading user pictures in bulk==
 
   
 
   
An administrator can upload a zip file containing user images in ''Settings > Site administration > Users > Accounts > Upload user pictures''.
+
An administrator can upload a zip file containing user images in ''Site administration > Users > Accounts > Upload user pictures''.
  
 
[[File:Uploaduserpictures.png]]
 
[[File: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''
+
*The image files should be named after the username, the id number 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 types supported include gif, jpg, and png.
 
*Image file names are not case sensitive.
 
*Image file names are not case sensitive.
  
{{Moodle 2.2}}==Using Gravatar==
+
==Gravatars==
 +
 
 +
An administrator can enable the use of gravatars in ''Site administration > Users > Permissions > User policies''. If a user has not uploaded a user picture, Moodle will check whether the user's email address has an associated gravatar and if so, will use the gravatar as the user's picture.
 +
 
 +
See also Gravatar default image URLs in [[Roles settings]]
  
Gravatar (an abbreviation for globally recognized avatar) is a service for providing globally unique avatars.
+
==See also==
  
In Moodle 2.2 onwards, an administrator can enable the use of gravatars in ''Settings > Site administration > Users > Permissions > User policies''. If a user has not uploaded a user picture, Moodle will check whether the user's email address has an associated gravatar and if so, will use the gravatar as the user's picture. See screencast here [http://www.youtube.com/usingmoodle#p/u/1/Z4b7tJedlMA]
+
* [http://moodle.org/mod/forum/discuss.php?d=141378 Cannot upload or change profile pictures] forum discussion
  
 
[[eu:Erabiltzailearen_irudiak]]
 
[[eu:Erabiltzailearen_irudiak]]
[[es:Imágenes de los usuarios]]
+
[[es:Imágenes de usuarios]]
 
[[fr:Image des utilisateurs]]
 
[[fr:Image des utilisateurs]]
 +
[[de:Nutzerbilder]]

Latest revision as of 12:46, 27 September 2016

Viewing all user pictures

Updating user pictures

Users can update their picture by editing their profile via their user menu. (The site administrator can disable the ability for users to change their profile image in Site administration > Security > Site policies.)

A user's picture is normally displayed next to the their 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 picture for the site by replacing the F1 and F2 images in the theme folder /theme/themename/pix_core/u/ or in the core folder /pix/u/. Remember to refresh your browser [Ctrl + F5] to see any picture changes!

  • There is a delete box when checked will delete the picture when the profile is saved.
  • There is a browse button for the user to find and upload a picture file.
  • The upload image will be reduced and saved in two files of 100px by 100px and 35px by 35px.
  • The picture description appears when the mouse rolls over the picture.

Tip: If you want the default picture to be blank, then replace it with a 1px x 1px transparent spacer image with the same filename. It can be either a '.png' or '.gif' file extension.

Uploading user pictures in bulk

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

Uploaduserpictures.png

  • The image files should be named after the username, the id number 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.

Gravatars

An administrator can enable the use of gravatars in Site administration > Users > Permissions > User policies. If a user has not uploaded a user picture, Moodle will check whether the user's email address has an associated gravatar and if so, will use the gravatar as the user's picture.

See also Gravatar default image URLs in Roles settings

See also