@agenceglanum
The PHP GD2 library is necessary on your server to handle images. In case of issues with common image handling and/or image cropping, ensure that your PHP has GD library enabled.
On hosted servers, it is generally the case, but not on local with WAMP for example.
You can check with your hosting support or create a phpinfo file, it will also help check GD support.
Hi @vapvarun,
Thanks for your time.
I checked with a phpinfo file and it seems GD library is enabled. See below a screenshot:

What do you think?
In addition to my previous post, we realized that this happened when the image was less than 450 px wide (BP_AVATAR_ORIGINAL_MAX_WIDTH). By changing this constant to 50px it works but everything is pixelated.
The problem must be related to the fact that when the image is smaller there is no resizing in the file bp-core-avatars.php ( $avatar_attachment->shrink( $bp->avatar_admin->original[‘file’], $ui_available_width );)
Thanks
Hi,
I have exactly the same problem. Did you or someone else find a solution?
Thanks