Recover the field from one Drupal page to another
First off, dsm().   You have to install a devel module.  In you code if you do dsm($user) then it would show you a nice user interface of the $user object/array



The location to the user picture (or avatar) is in your $user->picture object.  If $user array is not available, then you can do global $user;