added avatar image_size option