By adiz on
I am wondering how I would be able to call the profile picture to another area on the site. What is the function for the user picture under the profile tab? I want to be able to include it on the sidebar for the user when they login above their name.
Comments
=-=
in the themes tpl.php files it is called:
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
...
theme('user_picture',$account);
I'm fairly sure it's the actual user object that's passed and not just the UID but this is off the top of my head so I could be wrong.
Michelle
--------------------------------------
See my Drupal articles and tutorials or come check out life in the Coulee Region.
worked perfectly michelle...
worked perfectly michelle... I added the quick print function viola!
thanks
--
Adiz
New Issue
There is a new issue regarding this. When a user uploads a new photo that is not the default, it doesn't seem to pull it correctly to the area or, at all. The new image upload is working because on the account page you can view their newly uploaded photo, but not on the side bar as I wanted. Not sure what to do.
--
Adiz