-
Author
-
March 17, 2018 at 15:08 #192034
emmanuel
Participanthi i notice when i would upload a profile picture the quality of the image would change a come a little blurry, why is that
March 17, 2018 at 15:34 #192043Kieran_SQ
ModeratorHi,
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 CODEdefine ( '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 solutionMarch 17, 2018 at 15:48 #192045emmanuel
Participanthi i just try the code but that seems not to change the quality of the profile image would you like to take a look at it here is my login details
username; admin
password; BYgZQ9WMc)JB4vKB
March 17, 2018 at 16:00 #192049Kieran_SQ
ModeratorHi,
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 solutionMarch 17, 2018 at 17:56 #192072Kieran_SQ
ModeratorThat’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 solutionMarch 19, 2018 at 17:40 #192330Radu
ModeratorHi,
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 CODEif ( !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 avatarCode 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 solutionMarch 19, 2018 at 20:24 #192355emmanuel
Participanthi 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
March 20, 2018 at 16:09 #192441Radu
ModeratorHi,
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
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 20, 2018 at 16:24 #192444emmanuel
Participantok how to increase the BP avatar size/profile picture in the file manage/php at the backend of the site
March 20, 2018 at 17:02 #192460Radu
Moderatorsee 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 solutionMarch 20, 2018 at 21:04 #192511emmanuel
Participantok 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
March 22, 2018 at 16:24 #192699Radu
ModeratorHi,
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 -
AuthorPosts
You must be logged in to reply to this topic.