Support » Plugins and Hacks » WordPress Social Login » [Resolved] Twitter Avatar too small

[Resolved] Twitter Avatar too small

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Miled


    that the size we receive from twitter API and there is no easy way to change it (at least for now).

    if you want to have a bigger picture (so badly) then here is how:


    if( strtolower( $provider ) == 'twitter' ){
    	update_user_meta ( $user_id, 'wsl_user_image' , str_ireplace( "_normal", "", $hybridauth_user_profile->photoURL ) );
    	update_user_meta ( $user_id, 'wsl_user_image' , $hybridauth_user_profile->photoURL );

    nonetheless, I will look what can I do in future versions, but I won’t promise anything.

    Plugin Author Miled


    or a better solution is to make a hook to modify the user avatar.. google for “add_filter( ‘get_avatar'”

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Twitter Avatar too small’ is closed to new replies.
Skip to toolbar