BuddyBoss Home – Web Support Forums Themes Boss. theme Cover Photos and Featured Image sizes

Viewing 8 posts - 1 through 8 (of 8 total)
  • Question

    #42027
    @style960

    There’s still an issue with cover photos and featured images (I assume group cover as well) where they have to be the exact size of 1050 * 320 otherwise they don’t display properly. It’s not practical for me to advise every user or editor they need to use Photoshop to resize their image properly before they upload it.

    Is there any update on when this will be resolved?

    Cover photos look great but in their current state they don’t work, not something users would expect.

    Thanks,
    Paul.

    Answers

    #42096

    Alyssa
    Participant
    @alyssa-buddyboss

    @style960 I haven’t had any issues with the WordPress auto crop feature, perhaps they are uploading images that are too small? What exactly is the formatting issue? Can you provide a link?

    #42104
    @style960

    @tjchester No user apart from myself has uploaded a cover photo or featured image yet. I’ve deliberately uploaded images bigger than 1050 * 320 and they don’t crop. I’m trying to pre-empt issues that users will run into. It looks poor IMO. I’ll PM you a link.

    #42130

    Alyssa
    Participant
    @alyssa-buddyboss

    @style960 I see the issue now. They are loading full resolution. This is bad. Sent to devs with high priority.

    #69715
    @justinjdean

    Any update on this? Looking to provide some direction to users before we launch our site. What image size and parameters should we be recommending when they upload featured images?

    #69716
    @vapvarun

    Hi @justinjdean
    You can use some custom function to define your own size.

    https://www.buddyboss.com/support-forums/topic/cover-image-size/#post-67330

    Regards
    Varun Dubey

    #71363
    @david012

    Hi this cover image is such a problem ad I think i know why it is. This is for the following
    – Cover image for slider
    – Cover image for profile page
    – Cover image for groups
    – Cover image for posts

    When you upload a picture say 1024 x 640 i,e batman.jop, wordpress creates several images
    batman.jpg (Full)
    batman-620 x 420.jpg (medium)
    batman-728 x 640.jpg (large)

    what buddyboss does is takes the medium rated image and stretches it and its looks blurry and wrong. what buddyboss needs to do is give you the option to choose the quality of your cover images (for example select full)

    Or tell us where to edit the (medium setting for all the cover images.

    This is an example code in boss/single.php that takes mediium images
    $id = get_post_thumbnail_id($post->ID, ‘medium’);

    can you reply to this post and tell us where to edit medium to full? for

    – Cover image for slider
    – Cover image for profile page
    – Cover image for groups
    – Cover image for post

    Thanks

    #71410
    @vapvarun

    Hi @david012
    For Group and profile

    
    function bb_cover_image( $settings = array() ) {
        $settings['width']  = 1200;
        $settings['height'] = 300;
     
        return $settings;
    }
    add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'bb_cover_image', 10, 1 );
    add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'bb_cover_image', 10, 1 );
    

    For blog, you can update single.php inside child theme

    
    $id = get_post_thumbnail_id($post->ID, 'medium');
    with
    $id = get_post_thumbnail_id($post->ID, 'full');
    
Viewing 8 posts - 1 through 8 (of 8 total)
  • The question ‘Cover Photos and Featured Image sizes’ is closed to new replies.