Jump to content

Google Login Handler - Larger profile picture


Recommended Posts

When we log in with Google, the profile picture is imported as 96x96 pixels. I suggest increasing the size because it is definitely too small.

		$userData = $this->_userData( $link['token_access_token'] );
		if ( isset( $userData['picture'] ) and $userData['picture'] )
		{
			return \IPS\Http\Url::external( $userData['picture'] )->setQueryString( 'sz', NULL );
		}
		return NULL;

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...