resize avatar to 240*240