I am using D6. I want that users are able to upload their profile image like gmail, Facebook. How can i do this?
In Drupal 6 the, goto solution for this is the Content Profile module which allows you to add CCK fields to your user profile (in Drupal 7, the fields API allows you to do this in core):
This module builds user profiles as content (aka nodes), which opens the opportunity to use all the powerful modules for content for user profiles too, e.g. the Content Construction Kit (CCK). It's intended to be simple and useful, but extensible by further modules.
You will also want to install the imagefield module to be able to add an image upload CCK field.
I got how to upload photo into your profile. First install core module "profile". Go to "user setting" and set the profile image path, if you will get an error like "The directory does not exists".
Follow this instructions---- "go to the database and find a table named 'variable'. In this table find out the entry user_picture_path and put a value like this - s:8:"pictures"; where '8' is the length of the path string - 'pictures' which should be in the directory specified in the file system configuration. After setting the variable go in the user settings and change the path accordingly (in this case just write - pictures) and save it."