Forums

[plugin userphoto] dont display correct avatar (3 posts)

  1. Nghia
    Member
    Posted 3 years ago #

    hello!

    I have installed the userphoto plugin (http://wordpress.org/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?

  2. vampirefish
    Member
    Posted 3 years ago #

    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'))?>

  3. iaee
    Member
    Posted 3 years ago #

    hi vampirefish Can Mix between border and align

Topic Closed

This topic has been closed to new replies.

About this Topic