- resize avatar image maintaining aspect ratio