Updating User Profile Pictures

Users have profile pictures. Administrative Users can upload images in the Edit User form, and Users can update their own account information, including profile image.

Updating a Profile Picture

Users can update their own profile pictures, and administrators can update profile pictures for other users. Follow the appropriate steps below.

As a User

  1. Click My Profile in the User menu.

  2. Click Edit Information (Edit Information) to open the Account Settings.

  3. Click Change Image (Change Image).

  4. Select an image from your computer, crop it (if necessary), and click Done.

  5. Click Save at the bottom of the page.

    Upload images for user avatars in the Edit User form.

As an Administrator

  1. Open the Global Menu (Global Menu), go to the Control Panel tab, and click Users and Organizations.

  2. Click on the user’s name or choose Actions (Actions icon) next to the user and select Edit.

    Upload images for user avatars in the Users and Organizations app.

  3. Click Change Image (Change Image)

  4. Select an image from your computer, crop it (if necessary), then click Done.

  5. Click Save at the bottom of the page.

Using a Custom Default Profile Image

If no image is uploaded for a user’s profile, a generic silhouette is used by default.

To use a custom default profile image,

  1. Create a 100x100 px image in .png or .jpg format.

  2. Place the image on the application server’s classpath. For example, in Tomcat: tomcat/webapps/ROOT/WEB-INF/classes/

  3. Set the following property in your portal-ext.properties file:

    image.default.user.portrait=image-filename.png
    
    Tip

    If you use the binary gender field, set separate images:

    image.default.user.female.portrait=image-filename.png image.default.user.male.portrait=image-filename.png

  4. Restart the application server.

Capabilities

Product

Education

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy