#6551 closed defect (bug) (fixed)
Wrong shape of the CROP size of the group thumbnail
Reported by: | Diabolique | Owned by: | |
---|---|---|---|
Milestone: | 2.3.3 | Priority: | normal |
Severity: | normal | Version: | 2.3.2 |
Component: | Media | Keywords: | |
Cc: |
Description
When you change group thumbnail size then there is wrong shape of crop tool. I used following code in functions.php:
function group_thumbnail_size(){ define( 'BP_AVATAR_FULL_WIDTH', '200'); define( 'BP_AVATAR_FULL_HEIGHT', '100' ); } add_action('bp_init', 'group_thumbnail_size', 2);
And this what I see - http://www.imagebam.com/image/656252420037105
It's a real shame there is no way to change such basic thing like a groups thumbnail size.
Attachments (1)
Change History (11)
#1
@
9 years ago
- Component changed from API to API - Avatars
- Keywords needs-patch removed
- Milestone set to 2.3.3
- Priority changed from highest to normal
#2
@
9 years ago
- Keywords reporter-feedback added
thanks @r-a-y
i was surprised as i did fix this in 2.3.2
@Diabolique can you confirm doing one of the suggested temporarly fix shared by r-a-y is fixing your issue ?
This ticket was mentioned in Slack in #buddypress by hnla. View the logs.
9 years ago
#5
@
9 years ago
The fix for this (the updated file) is now in the 2.3 branch, right? I think I remember it went in a few weeks ago.
#6
@
9 years ago
- Keywords reporter-feedback has-patch removed
@DJPaul, absolutely it is already there in avatar.js
since 2.3.2. But it looks like avatar.min.js
hasn't been updated during the build process. So we just need to check it is the case in 2.3.3.
Looks like the fix was made in #6479 for v2.3.2, but during the build process, the
avatar.min.js
file was not updated.To fix this temporarily, you can either do the following:
Add
define( 'SCRIPT_DEBUG', true );
to wp-config.php.This will load the unminified CSS and JS for everything in WordPress. This is a little heavy-handed.
Or:
You can copy
/bp-core/js/avatar.js
to/bp-core/js/avatar.min.js
.