Okay so I created a file named bp-custom.php and uploaded it here: wp-content/plugins/bp-custom.php
And wrote this code in it:
define ( ‘BP_AVATAR_THUMB_WIDTH’, 50 );
define ( ‘BP_AVATAR_THUMB_HEIGHT’, 50 );
define ( ‘BP_AVATAR_FULL_WIDTH’, 50 );
define ( ‘BP_AVATAR_FULL_HEIGHT’, 50 );
define ( ‘BP_AVATAR_ORIGINAL_MAX_FILESIZE’, 5120 );
define ( ‘BP_AVATAR_DEFAULT’, ‘http://animalsfunnypictures.com/wp-content/uploads/2014/08/cropped-Untitled-1.png’ );
define ( ‘BP_AVATAR_DEFAULT_THUMB’, ‘http://animalsfunnypictures.com/wp-content/uploads/2014/08/cropped-Untitled-1.png’ );
But nothing changed in my site.. any ideas why?
That won’t change what’s already been uploaded. If you upload a new avatar going forward, you should see the new size.
I wanted the code to do the following, ALL avatars in my site do not get past 50px no matter which they are.
Your avatars are the correct size.
Your theme is stretching the avatars.
Look at your theme css re item-header and item-header-avatar
I re-uploaded the pic, it’s still big: http://animalsfunnypictures.com/members/sanaa/profile/change-avatar/
Nothing has changed like I said.
@shanebp: I didn’t find any of the two in the theme’s editor’s CSS 🙁
@elshobokshy
Using firefox on http://animalsfunnypictures.com/members/sanaa/ I can see entry-content img {
which has a width: 510px
if i disable it in firefox it becomes the ‘normal’ size.
This is coming from Marla theme’s style.css on line 1464 – see for yourself…
@aces THANK YOU!!!! <3
Any ideas if I change it to 100 what else will be affected other than this picture?
Yep I found something, if I change that value all of my site’s picture are reduced in my posts/pages everywhere…