WordPress.org

Ready to get started?Download WordPress

Forums

Nextend Facebook Connect
The size of Facebook avatar (5 posts)

  1. Kennice_
    Member
    Posted 1 year ago #

    Thank you for this great plugin.

    However, I have encounter a problem.
    When users connected their accounts with Facebook, their icons that get from Facebook did not fit the size that the image is out of proportion. I am wondering is it possible to automatically crop and resize the Facebook avatar?

    http://wordpress.org/extend/plugins/nextend-facebook-connect/

  2. kate.t
    Member
    Posted 1 year ago #

    I'm facing the same issue.

    Is it possible to get exactly the same avatar as displayed on facebook? already cropped and resized at facebook's end?

  3. kate.t
    Member
    Posted 1 year ago #

    i found a possible (not sure if it can work yet) but when Ii tried to edit this in nextend-facebook-connect.php

    update_user_meta($ID, 'fb_profile_picture', 'https://graph.facebook.com/' . $user_profile['id'] . '/picture?type=large');

    to

    update_user_meta($ID, 'fb_profile_picture', 'https://graph.facebook.com/' . $user_profile['id'] . '/picture?type=small');

    I couldn't get the php file to save, any ideas anybody?

  4. rafalo1333
    Member
    Posted 1 year ago #

    I have the same problem, after disabling the plugin I cant get my theme's default avatars' size.

  5. stoqn.angelov
    Member
    Posted 8 months ago #

    I had the same problem. Open this file
    /plugins/nextend-facebook-connect/nextend-facebook-connect.php

    And just change this

    update_user_meta($ID, 'fb_profile_picture', 'https://graph.facebook.com/' . $user_profile['id'] . '/picture?type=large');

    with, this

    update_user_meta($ID, 'fb_profile_picture', 'https://graph.facebook.com/' . $user_profile['id'] . '/picture?width=200&height=200');

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.