Skip to:
Content
Pages
Categories
Search
Top
Bottom

Avatar Crop not working: selector is not a square


  • Alan Niemies
    Participant

    @alanniemies

    Hello guys, how are you?

    I found a really strange issue when creating a website using OneCommunity WordPress and Buddypress theme.

    First of all, the “Change Avatar” link on the Profile menu at the Profile page had a “display:none”, which I changed as I want people to use different avatars than Gravatar.

    Now, I’m able to upload images on the website but the crop image is crazy: it’s not a square but a rectangle, which is terrible. After the image is cropped, as I use square images on the whole website, there’s a huge distortion on the image.

    I already checked /wp-content/plugins/buddypress/bp-core/bp-core-avatars.php and everything is okay on there. I can’t find anyone with this same problem and didn’t find any other file that should be transforming these crop size and proportion.

    Does anyone here had any trouble with this and can manage to help me?

    Thanks a lot,
    Alan

Viewing 5 replies - 1 through 5 (of 5 total)
  • I already checked /wp-content/plugins/buddypress/bp-core/bp-core-avatars.php and everything is okay on there
    What exactly did you check in that core file? It’s unlikely an issue with a core BP file unless someone has been editing it or unless a bug has crept in very recently which I doubt.

    One thing you should have checked is whether the issue exists when you switch to a theme known to be generally ok with BP i.e twentythirteen or twentytwelve

    This sounds like a classic theme issue really.


    Alan Niemies
    Participant

    @alanniemies

    Hi @hnla and thank you for your reply.

    Yes, as I was thinking, the problem is with OneCommunity theme (it crops as a square on Twenty Thirteen theme).. Do you have any idea of how a theme can modify this information and where should I look for? I already tried a lot of different templates and files.

    Thanks again for your time!


    @mercime
    Keymaster

    @mercime

    @alanniemies I would report this issue with the premium theme developer or check the premium theme’s forums. Surely you’re not the only one who has experienced this issue with BuddyPress activated.


    hunterstudio
    Participant

    @hunterstudio

    I am having the same issue… any solutions yet?

    As this thread says it’s likely a theme issue for the OP; as for your circumstances we don’t have detail, if you use the same theme then check with authors as suggested above.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Avatar Crop not working: selector is not a square’ is closed to new replies.
Skip to toolbar