[Plugin: User Photo] Display Fallback Avatar Thumb; No Image Stretching (1 post)

  1. Bane Unreinen
    Posted 6 years ago #

    On the options page for this plugin, I checked "Serve Avatar as Fallback:". But, I also use the Gigya plugin to allow people to register via their favorite Social Networking site. This was causing the members profile to take a small avatar and display it at the large size members use for uploading photos; for me 600px.

    So, I went into the plugin and removed line 138:

    $width = $height = get_option($photoSize == USERPHOTO_FULL_SIZE ? 'userphoto_maximum_dimension' : 'userphoto_thumb_dimension');

    This allows the plugin to show the social network avatar at its' correct size.


Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 6 years ago by Bane Unreinen
  • This topic is not a support question
  • WordPress version: 2.8