Active Directory Thumbnails
[resolved] Avatar in user profile (4 posts)

  1. oldirtdog
    Posted 3 years ago #

    Is it possible to have the avatar in a user profile to always show up as the one generated from this plugin? In particular, I'm looking to the users list and would like that to show the correct thumbnail based upon the one that I pulled from AD... the octet string shows fine in the profile of a user that has a photo in AD... however, I can't get the photo to show up anywhere else...


  2. Omar Mir
    Plugin Author

    Posted 3 years ago #


    The avatar is just another field, add another for the image. You may want to ask in the general support forums how to do that but the post above shows you how to get the image itself and put it anywhere you want.

  3. oldirtdog
    Posted 3 years ago #

    Yeah, I am able to get the new image to show on a post or page. However, I'm trying to actually use this as the default avatar for the user. If I am in admin and go to the user list, I'd like their AD thumbnail to appear there as well... I can't seem to get that to happen...

  4. Omar Mir
    Plugin Author

    Posted 2 years ago #

    I don't have a step by step but you can filter get_avatar


    From above, essentially the $myavatar = get_bloginfo('template_directory').'/images/custom-gravatar.jpg'; can be replaced with the plugin's image URL.

    Make sure to read the second answer as well as that will give you an idea on how to get the User ID which you will need.

    I haven't tried this but let me know if it works for you :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Active Directory Thumbnails
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.