Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Avatar picture is WAY too big in my website!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Profile photo of elshobokshy
    elshobokshy
    Participant

    @elshobokshy

    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?

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    That won’t change what’s already been uploaded. If you upload a new avatar going forward, you should see the new size.

    Profile photo of elshobokshy
    elshobokshy
    Participant

    @elshobokshy

    I wanted the code to do the following, ALL avatars in my site do not get past 50px no matter which they are.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Your avatars are the correct size.
    Your theme is stretching the avatars.
    Look at your theme css re item-header and item-header-avatar

    Profile photo of elshobokshy
    elshobokshy
    Participant

    @elshobokshy

    I re-uploaded the pic, it’s still big: http://animalsfunnypictures.com/members/sanaa/profile/change-avatar/

    Nothing has changed like I said.

    Profile photo of elshobokshy
    elshobokshy
    Participant

    @elshobokshy

    @shanebp: I didn’t find any of the two in the theme’s editor’s CSS :(

    Profile photo of aces
    aces
    Participant

    @aces

    @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

    Profile photo of elshobokshy
    elshobokshy
    Participant

    @elshobokshy

    @aces THANK YOU!!!! <3

    Any ideas if I change it to 100 what else will be affected other than this picture?

    Profile photo of elshobokshy
    elshobokshy
    Participant

    @elshobokshy

    Yep I found something, if I change that value all of my site’s picture are reduced in my posts/pages everywhere…

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] Avatar picture is WAY too big in my website!’ is closed to new replies.
Skip to toolbar