Is it vain to post pictures of yourself?

Selfies are shared because the individuals posting them feel confident and at ease in their own skin. However, unless they post numerous selfies, it does not imply that they are vain.