With version 8, we've got the functionality built in for resizing. So, basically you set the dimensions in the control panel, and when a user sets their avatar, either a remote or uploads one, it will resize the avatar properly to what you've set in the CP.