Author Avatars List – User profile
Is there a way to show a bigger profile image on the author profile page. For me it shows the thumbnail (the size we set under the author avatar plugin admin) of the author.
I am using User photo plugin to upload the author photo and have set 2 different sizes one for the bigger image and the other for the thumbnail, I want the author page to show this bigger image size that I have fixed.
Any help would be appreciated.
Sorry, but this doesn’t seem to have anything to do with the author avatars list plugin – the “author page” is a standard wordpress feature, and displaying a picture of the author on that page is handled by the “User Photo” plugin…
From looking at the documentation of said plugin I would say that using the
userphoto()template tag should your avatar in the big size, while the
userphoto_thumbnail()tag displays the thumbnail.
If you’re using the “Override Avatar with User Photo” feature and the
get_avatar()template tag at the moment you might have to replace that template tag by the
Thank you for that reply and am sorry that I didn’t know it wasn’t with author avatar. 🙁
If you’re using the “Override Avatar with User Photo” feature and the get_avatar() template tag at the moment you might have to replace that template tag by the userphoto() one…
Can you please let me know exactly where can I find them and also where to replace them? (Consider me a non-programmer or non-coder.)
Well, in the file actions.php I tried to change get_avatar() to userphoto(), now it doesn’t even display the thumbnail, so I tried with user-photo() and it shows…
Fatal error: Call to undefined function photo()
Yeah I have checked “Override Avatar with User Photo” option.
Please guide me on this.
I changed my existing code
<?php echo get_avatar(get_the_author_meta(‘user_email’, $id), ’96’); ?>
<?php echo userphoto(get_the_author_meta(‘user_email’, $id), ’96’) ?>
and even the thumbnail don’t appear now on the author’s page 🙁
You should not change any plugin files – the lines I was talking about above would be in your theme, most likely in a file called
Am using Suffusion as my theme and there 2 php files, author and authors. The template tag get_avatar is in authors.php and I tried changing it but in vain 🙁
The description of each php says
* Displays all the authors of this blog.
* A brief bio is shown for each author.
* Displays a bio and the posts for a given author. The posts can be shown either as excerpts or full contents
So I think that get_avatar should have been in this php whereas it is now in authors.php
I am putting up the entire code from author.php please let me know what should I add and where?
Thank you Ben its really kind of you to help me in this.
<?php suffusion_before_begin_content(); ?>
<?php suffusion_after_begin_content(); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class=”post fix” id=”post-<?php the_ID(); ?>”>
<?php suffusion_after_begin_post(); ?>
<div class=”entry fix”>
<?php suffusion_content(); ?>
<?php suffusion_before_end_post(); ?>
<?php endwhile; ?>
<?php suffusion_before_end_content(); ?>
<?php else : ?>
<div class=”post fix”>
<h2><?php _e(“Not Found”, “suf_theme”); ?></h2>
<p><?php _e(“Sorry, but you are looking for something that isn’t here”, “suf_theme”); ?></p>
<?php endif; ?>
</div><!– content –>
</div><!– main col –>
<?php get_footer(); ?>
I solved a similar problem of having two different avatar sizes show by simply changing the size in the plugin file for user photo. Now it’s consistent sizing on the avatars list and author/single.php pages.
“Thumbnail” and the “full size” are the same now basically.
- The topic ‘Author Avatars List – User profile’ is closed to new replies.