WordPress.org

Ready to get started?Download WordPress

Forums

User Photo
How to get thumbnail size when using if exists (1 post)

  1. inTOWN
    Member
    Posted 1 year ago #

    if(userphoto_exists($user))
        userphoto($user);
    else
        echo get_avatar($user->ID, 96);

    This gives me the full photo size of the userphoto...
    Changing it to

    if(userphoto_exists($user))
        userphoto_the_author_thumbnail$user);
    else
        echo get_avatar($user->ID, 96);

    doesn't work

    http://wordpress.org/extend/plugins/user-photo/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic