Restrict avatar size to 1MB