Data at Your Fingertips: Explore Our New Reporting and Statistical Capabilities By Ryan Ashbrook Tuesday at 01:29 PM
GoGators Posted February 6, 2016 Share Posted February 6, 2016 Using the Custom CSS, I increased the avatar/profile picture size to 125px. It worked nicely, but I noticed the Gravatar's are now fuzzy. After investigating the issue, it appears the Gravatar's are being requested using the default size of 80x80, so of course, they are going to be blurred. So I visited the Gravatar website and found this information for developers http://en.gravatar.com/site/implement/images/ Is it possible you could add this setting to the Admin panel, so we could adjust the size of the requested Gravatar. If not, could please you tell me what file controls the Gravatar requests, so I can perhaps modify it myself. Thank you in advance Link to comment Share on other sites More sharing options...
Mark Posted February 7, 2016 Share Posted February 7, 2016 system/Member/Member.php The photoUrl() method. Change this: $url = \IPS\Http\Url::external( "https://secure.gravatar.com/avatar/" . md5( trim( mb_strtolower( $memberData['pp_gravatar'] ?: $memberData['email'] ) ) ) )->setQueryString( array( 'd' => (string) $defaultUrl ) ); To: $url = \IPS\Http\Url::external( "https://secure.gravatar.com/avatar/" . md5( trim( mb_strtolower( $memberData['pp_gravatar'] ?: $memberData['email'] ) ) ) )->setQueryString( array( 'd' => (string) $defaultUrl, 's' => 125 ) ); Link to comment Share on other sites More sharing options...
GoGators Posted February 8, 2016 Author Share Posted February 8, 2016 Awesome! Thanks, Mark. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.