Support avatar preview before upload