avatar: Scale the avatars by the min dimension
If we scale the avatars by the dimension that's the minimum (width vs height), we don't end up chopping the avatar if it's not rectangular.
Fixes #163 (closed).
Edited by Zeeshan Ali Khan
If we scale the avatars by the dimension that's the minimum (width vs height), we don't end up chopping the avatar if it's not rectangular.
Fixes #163 (closed).