This topic has 19 replies, 4 voices, and was last updated 10 years by Radu.

  • Author
  • #43742
     catholicauthor
    Participant

    Hi, I can’t tell if this issue has been resolved by others in here, but my member carousel on the home page is grabbing the full resolution avatar instead of the thumbnail. See here: http://saintnook.com/

    In visual composer, I set it to thumbnail, but it’s not respecting it. Because my profiles are to be shared on social networks, I added code to bp-custom.php to make the avatars larger (featured images):

    COPY CODE
    define ( 'BP_AVATAR_THUMB_WIDTH', 150 );
    define ( 'BP_AVATAR_THUMB_HEIGHT', 150 );
    define ( 'BP_AVATAR_FULL_WIDTH', 620 );
    define ( 'BP_AVATAR_FULL_HEIGHT', 620 );
    define ( 'BP_AVATAR_ORIGINAL_MAX_WIDTH', 620 );

    Am I doing it wrong?

    #43747
     Radu
    Moderator

    Hello,

    Try this methods :
    https://www.otreva.com/blog/buddypress-how-to-change-avatar-size-larger-or-smaller/

    http://premium.wpmudev.org/blog/how-to-change-the-default-buddypress-avatar-sizes/

    Let me know if it works.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #43754
     catholicauthor
    Participant

    Thanks; I already followed these, and it works great in allowing me to upload hi-res avatars at 620px. I am also able to find the thumbnails at 150px in the images directory.

    The question I have now is why the members carousel is not pulling the thumbnail when I specify that in Visual Composer?

    #43930
     Radu
    Moderator

    Hello,

    Replace this file \wp-content\plugins\k-elements\shortcodes\templates\buddypress\kleo_bp_members_carousel.php with ( see attachment )

    Let me know if it works.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #43949
     catholicauthor
    Participant

    Perfect.

    #44231
     sante13
    Participant

    I am having the same problem – where do you install this file? Thank you.

    #44361
     Radu
    Moderator

    Here : \wp-content\plugins\k-elements\shortcodes\templates\buddypress\

    Upzip that file in the directory mentioned above.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #82355
     szmek9
    Participant

    it didn’t work for me. See my mainpage at the bottom http://www.bimv.pl

    #82456
     Radu
    Moderator

    @szmek9

    Update the theme to latest version and see if this will fix the issue.

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #82534
     szmek9
    Participant

    I updated. Nothing has changed.

    #82701
     Radu
    Moderator

    Hi,

    Try with the attached file.

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #82704
     szmek9
    Participant

    It doesn’t work

    #84330
     Radu
    Moderator

    Hi szmek9,

    Can you please provide me an FTP and admin credentials + page where the carousel appears and also please describe me what is the problem with the carousel images you want to use a small images instead of standard sizes of images ?

    Regards

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #84331
     Radu
    Moderator

    Hi szmek9,

    Can you please provide me an FTP and admin credentials + page where the carousel appears and also please describe me what is the problem with the carousel images you want to use a small images instead of standard sizes of images ?

    Regards

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #85592
     szmek9
    Participant
    #85623
     Radu
    Moderator

    Hi @szmek9,

    ania-majewska profile has uploaded an un proportionally image that are different of the rest of images profiles.

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #87022
     szmek9
    Participant

    I know, but is there an option to crop/resize image so the members grid is actually evenly divided?

    #87125
     Radu
    Moderator

    After you upload an avatar you are asked if you want to crop image.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #88150
     szmek9
    Participant

    Can I force user to crop image?

    #88303
     Radu
    Moderator

    Hi,

    Try this plugin : https://wordpress.org/plugins/buddypress-upload-avatar-ajax/

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 20 posts - 1 through 20 (of 20 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?