• Nghia

    (@nghia)


    hello!

    I have installed the userphoto plugin (http://ww.wp.xz.cn/extend/plugins/user-photo/), which is very nice. I created an author template and wanted to display the author pic. Everything looks okie but i noticed that it always displays the same picture for all authors.

    I added this code in author.php page :

    <?php echo userphoto($userdata, $before = ”, $after = ”, $attributes = array(align => ‘left’, hspace => ’10’, vspace => ’10’, border => ‘5’), $default_src = ”); ?>

    Any ideas of what i am doing wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have not figured out how to add a border AND align.. I can only do one or the other.

    border example:
    <?userphoto_comment_author_thumbnail(”, ”, array(style => ‘border:2px solid #760606’))?>

    align example:
    <?userphoto_comment_author_thumbnail(”, ”, array(align => ‘right’))?>

    hi vampirefish Can Mix between border and align

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[plugin userphoto] dont display correct avatar’ is closed to new replies.