Viewing 1 replies (of 1 total)
  • Plugin Author Glen Scott

    (@glen_scott)

    Use a template tag, as described here:

    userphoto($user, $before = ”, $after = ”, $attributes = array(), $default_src = ”)

    By using these, it is uneccessary to set the global $authordata to display a photo. Just pass $authordata, $curauth or whatever variable you have which contains the user object, or (as of version 0.9), pass in a user ID or a user login name.

Viewing 1 replies (of 1 total)
  • The topic ‘User image’ is closed to new replies.