title: How to allow Users to add image for their profile
body: <p>I am wondering what is the usual way of allowing users to add a profile picture  to their profile on my website .
  I am creating a social network type website, where users can register and maintain their profile. Like we know users can upload a profile image for their profile,which should be part of the database along with their profile info. but how is this usually done on the frontend using html5/jquery+ajax+php .</p>