Changing Avatar Cropping Ratio
I am trying to change the dimensions/ratio of the avatar cropping tool. I am making a photography website, so it makes more since for my avatars to be the ratio of a typical photograph 2:3.
I figured out how to change the avatar file (bp-core-avatars.php) to change the height and width of the avatars. When I change those first settings to a 2:3 ratio, the avatar cropping tool does indeed show a 2:3 ratio, however after you click “save” the image is just a skewed square in a 2:3 ratio avatar. For some reason it is still cropping it to a square on the back end, it is just outputting that square and skewing it into a 2:3 ratio box.
So my question is, what other settings within bp-core-avatars.php do I need to change other than those settings for the avatars at the beginning of the file?
Thanks so much for any help!
The topic ‘Changing Avatar Cropping Ratio’ is closed to new replies.