BuddyBoss Home – Web Support Forums Themes Boss. theme Featured Image Resizing

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

    #53995
    @medicoapps

    Dear Admin,

    I am using Social Learner for Learndash.

    Whenever I am uploading the featured image it is getting cropped.

    I uploaded a image of 600X315 and it was cropped to 600X240.
    No matter what image I upload the images gets cropped /resized to 2.5 : 1 ratio

    Is there some setting in wordpress / Social Learner (Boss Theme ) which resizes the image to 2.5: 1.

    I want this ratio to be 1.9: 1 (Same as what facebook recommends ). How can we do it ?

    Thanks

    Answers

    #54053

    Anonymous
    @

    Hi @medicoapps, Following image sizes had been added to Image thumbnails for Course inside Boss-learndash
    and css is written to support them


    add_image_size( 'course-archive-thumb', 360, 250, true );
    add_image_size( 'course-single-thumb', 472, 355, true );

    Please confirm your have issues for single course view or archive
    or you need fixed at some other places
    Regards
    Varun Dubey

    #54075
    @medicoapps

    I have issues of Archives wherein the Image is resized 2.5:1

    #54195

    Anonymous
    @

    Hi @medicoapps, Please copy the content.php from parent theme (boss) to child theme and you can modify the image ration there at line 31

    
    $image	 = buddyboss_resize( $thumb, '', 2.5, null, null, true );
    

    Regards
    Pallavi

Viewing 4 posts - 1 through 4 (of 4 total)
  • The question ‘Featured Image Resizing’ is closed to new replies.