This topic has 14 replies, 3 voices, and was last updated 6 years by Radu.

  • Author
  • #192034
     emmanuel
    Participant

    hi i notice when i would upload a profile picture the quality of the image would change a come a little blurry, why is that

    #192037
     emmanuel
    Participant

    here are is example of what i am specking about

    Attachments:
    You must be logged in to view attached files.
    #192043
     Kieran_SQ
    Moderator

    Hi,

    Have you changed the size via CSS for user images? If so you may need to increase the size of the generated images too, you can add the below snippet to your bp-custom.php file located in /wp-content/plugins/ or you can try this in your SweetDate Child theme’s functions.php

    COPY CODE
    define ( 'BP_AVATAR_THUMB_WIDTH', 100 );
    define ( 'BP_AVATAR_THUMB_HEIGHT', 100 );
    define ( 'BP_AVATAR_FULL_WIDTH', 250 );
    define ( 'BP_AVATAR_FULL_HEIGHT', 250 );

    Try adjusting the values to suit your needs, make sure to clear your cache each time you update a value and then try uploading a new profile avatar each time to see if this works for you.

    Thanks,

    Kieran

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

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #192045
     emmanuel
    Participant
    This reply has been set as private.
    #192049
     Kieran_SQ
    Moderator

    Hi,

    Can you upload the image you were using within your screenshots for the user avatar please.

    Kieran.

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

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #192064
     emmanuel
    Participant

    here is the image

    Attachments:
    You must be logged in to view attached files.
    #192072
     Kieran_SQ
    Moderator

    That’s a strange issue, I am going to ask one of our developers to look into this for you as it doesn’t seem to solved with either defines or CSS – not entirely sure where the issue is coming from. They’ll be in touch with you as soon as they can, Monday to Friday, East European Time.

    If you have any other questions in the meantime please open a new ticket and I will be happy to assist.

    Thank you for your patience,

    Kieran

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

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #192074
     emmanuel
    Participant

    ok

    #192330
     Radu
    Moderator

    Hi,

    That it’s a buddypress feature you can try the next

    To increase the avatar size make sure that you have next lines added to the file.

    COPY CODE
    
    if ( !defined( 'BP_AVATAR_THUMB_WIDTH' ) )
    define( 'BP_AVATAR_THUMB_WIDTH', 120 ); //change this with your desired thumb width
     
    if ( !defined( 'BP_AVATAR_THUMB_HEIGHT' ) )
    define( 'BP_AVATAR_THUMB_HEIGHT', 120 ); //change this with your desired thumb height
     
    if ( !defined( 'BP_AVATAR_FULL_WIDTH' ) )
    define( 'BP_AVATAR_FULL_WIDTH', 580 ); //change this with your desired full size
     
    if ( !defined( 'BP_AVATAR_FULL_HEIGHT' ) )
    define( 'BP_AVATAR_FULL_HEIGHT', 580 ); //change this to default height for full avatar
    

    Code can be pasted in this file : “wp-content/plugins/bp-custom.php” or in child theme functions.php wp-content/themes/sweetdate-child/functions.php

    Replace 580 with your desired values

    Of still not works ask on the buddypress forums since it;s a feature from buddypress

    Cheers

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

    hi i try the code you sent me, went on buddypress forum did not find an answer, read this and follow all instruction https://codex.buddypress.org/themes/guides/customizing-buddypress-avatars/

    but nothing seems to work the profile picture still look blurred is there any thing could be done in the file manager/php could you please help me

    Attachments:
    You must be logged in to view attached files.
    #192441
     Radu
    Moderator

    Hi,

    I see, i’ve noticed it’s happening using any other theme it’s a buddypress thing that i’ve suggested to ask on their forum support, ask them about this issue opening a ticket on their forum support.

    Cheers
    R

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

    ok how to increase the BP avatar size/profile picture in the file manage/php at the backend of the site

    #192460
     Radu
    Moderator

    see here : https://archived.seventhqueen.com/forums/topic/profile-picture-quality/#post-192330

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

    ok if you could stop the profile picture from blurring after cropping i will pay you for doing it for me, here is of what i would like, change the profile picture of this theme and you will see the difference between that theme and sweetdate theme when uploading a profile picture it comes out just like the image that was uploaded

    https://demos.buddyboss.com/onesocial/members/john/profile/

    #192699
     Radu
    Moderator

    Hi,

    They are using a similar image size for img source

    Anyway you can try this css.

    COPY CODE
    
    .my-profile div#avatar-crop-pane {
        zoom: 0.4;
    }
    

    You can tip me here if you want : https://paypal.me/radusq

    Cheers
    R.

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

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?