Skip to:
Content
Pages
Categories
Search
Top
Bottom

Why bpthumb == bpfull ?

  • @damland

    Participant

    Hello,

    I’ve a clean wp installation, buddypress is the only plugin and I’m using the default theme 2015 however when the users upload their avatar: bpthumb is 150px like bpfull instead of 50px.

    /wp-content/uploads/avatars/1/bac9f205a601e55b63f55878d3dfab6c-bpfull.jpg
    is the same of /wp-content/uploads/avatars/1/bac9f205a601e55b63f55878d3dfab6c-bpthumb.jpg

    Somethings wrong with my server or a bug on latest buddypress ver.?

    Thank you

Viewing 13 replies - 1 through 13 (of 13 total)
  • @shanebp

    Moderator

    What are your settings in …/wp-admin/options-media.php ?

    @damland

    Participant

    @shanebp My media settings:
    Thumbnail size 150×150
    Medium size 300×300
    Large size 1024×1024

    even if I add:
    define ( ‘BP_AVATAR_THUMB_WIDTH’, 200 );
    define ( ‘BP_AVATAR_THUMB_HEIGHT’, 200 );
    define ( ‘BP_AVATAR_FULL_WIDTH’, 500 );
    define ( ‘BP_AVATAR_FULL_HEIGHT’, 500 );
    bpthumb are 500px same as bpfull

    @henrywright

    Moderator

    Are you checking the size of the image when it’s displayed in your theme or are you checking the raw image size? I ask because CSS can resize the image.

    @damland

    Participant

    @henrywright I open the images url in a new window…
    All wp settings are default

    @henrywright

    Moderator

    Where are you adding your constant definitions?

    @damland

    Participant

    @henrywright inside bp-custom.php but I have the same problem even if I don’t add them.

    @henrywright

    Moderator

    Where in your folder hierarchy do you have your bp-custom.php file?

    @damland

    Participant

    @henrywright wp-content/plugins/bp-custom.php (but even if I delete it same problem)
    I should be something related the my server configuration since everything is default

    @henrywright

    Moderator

    You seem to be doing everything right so this is quite strange! How about plugins, could you have a rogue plugin installed which might be causing the issue?

    @damland

    Participant

    @henrywright Buddypress is the only plugin

    @henrywright

    Moderator

    Then I’m out of ideas. It seems you’re doing everything right. There must be something strange going on.

    @damland

    Participant

    can anybody try to upload a new member avatar and check if the thumb size is different from full size?
    If you confirm that it works I ll try with another hosting
    Thank You

    @damland

    Participant

    @shanebp @henrywright
    it’s a buddypress bug, I’ve added a fix here: https://buddypress.org/support/topic/bug-report-class-bp-attachment-avatar-php/
    hope it will be included on next update (soon)

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Why bpthumb == bpfull ?’ is closed to new replies.
Skip to toolbar