Synchronize user photos stored in Active Directory to WordPress without any 3rd party plug-in.

Requirements

None.

Usage

  • Download the premium extension

  • Copy the extracted ZIP file into your wp-content/plugins directory

  • Activate the plug-in in your WordPress plug-in view

  • Make sure that you have mapped the field thumbnailPhoto, jpegPhoto or thumbnailLogo in Next ADI. Please get in touch with your AD administrator to pick the right attribute. Configure the mapping on the Attributes tab:

    NADI Extension: Profile Pictures - Mapping
  • Save the mapping. With the next login of the user or the next Sync to WordPress run the user’s profile picture gets updated.

  • Done :-)

FAQ

Does this premium extension work with Ultimate Member?

since 1.0.1 Profile Pictures does work with Ultimate Member. In case you need to disable PP, you can disable the plug-in or add the following line of code to your wp-config.php:

define('nadiext_profile_pictures_enable_um_avatars', true);

What happens if I map more than one AD photo attribute?

The extension checks the attributes in the order of thumbnailPhoto, jpegPhoto, thumbnailLogo. The first attribute containing atleast one byte is used.

What happens if the attribute does not contain a valid photo?

The extension will fail. Please let your AD administrator know that the user has invalid photo data.

I try to use the “Profile Pictures” extension on IIS, but I receive a 404 error for the image when I load the user profile.

Please add the MIME-Typ shown in the picture below to your “../wp-content/uploads/nadiext-profile-pictures” folder in your IIS configuration as shown in the picture below.

NADI Extension: Profile Pictures - IIS 404 Fix