Support » Plugins and Hacks » [Plugin: User Photo] Display Fallback Avatar Thumb; No Image Stretching

  • 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.

    http://wordpress.org/extend/plugins/user-photo/

  • The topic ‘[Plugin: User Photo] Display Fallback Avatar Thumb; No Image Stretching’ is closed to new replies.