Skip to:
Content
Pages
Categories
Search
Top
Bottom

UPLOADED AVATAR SIZE FROM MOBILE VIEW = POOR QUALITY


  • wegosi
    Participant

    @wegosi

    Could you please, help to solve this issue. It’s Ok, when uploading avatar via desktop, but when loading avatar via mobile – cropping image is very poor quality.

    Screenshots:
    http://prntscr.com/me7ja3

    Theme developer of the theme:

    After some testing we were able to reproduce the issue and we determined that this is an issue with BuddyPress, as this issue seems to happen with the default Twenty Nineteen theme as well. So unfortunately we cannot help you resolve this as we have no control over the way BuddyPress handles avatar uploads on mobile.
    
    To go further, we invite you to contact BuddyPress support about this issue:

    Thank you.

Viewing 1 replies (of 1 total)

  • Varun Dubey
    Participant

    @vapvarun

    Hi @wegosi you can use following codes inside child theme functions.php or bp-custom.php
    You can change the values as per your requirement

    if ( ! defined( 'BP_AVATAR_THUMB_WIDTH' ) )
        define( 'BP_AVATAR_THUMB_WIDTH', 50 ); //change this with your desired thumb width
     
    if ( ! defined( 'BP_AVATAR_THUMB_HEIGHT' ) )
        define( 'BP_AVATAR_THUMB_HEIGHT', 50 ); //change this with your desired thumb height
     
    if ( ! defined( 'BP_AVATAR_FULL_WIDTH' ) )
        define( 'BP_AVATAR_FULL_WIDTH', 260 ); //change this with your desired full size 
     
    if ( ! defined( 'BP_AVATAR_FULL_HEIGHT' ) )
        define( 'BP_AVATAR_FULL_HEIGHT', 260 ); //change this to default height for full avatar
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.