set avatar dimensions