Simple Local Avatars
[resolved] Not obeying specified avatar size (2 posts)

  1. thatwastaxing
    Posted 4 years ago #


    I'm using this plugin plus WP Biographia but the uploaded avatar doesn't seem to be obeying WP Biographia's default image size of 100px. It looks like the default Gravatar size.

    I previously used User Photo, which did obey the 100px width but because avatars uploaded using User Photo didn't reflect in the admin area's user lists or admin bar, I deactivated and deleted User Photo and installed Simple Local Avatars instead.

    I do see in the code that the correct size is being asked for:

    <div class="wp-biographia-pic" style="height:100px; width:100px;"><img alt='Author Pic' src='http://localhost/test/wp-content/uploads/2012/07/Author-Pic_avatar-100x100.jpg' class='avatar avatar-100 photo' height='100' width='100' /></div>

    And when I open the URL for the image source, the image appears in the correct size.

    Even when I use a simple <?php echo get_simple_local_avatar( get_the_author_id(), 100 ); ?> or <?php echo get_avatar( get_the_author_id(), 100 ); ?> with no CSS in my template, it doesn't show the correct size.

    Thanks in advance!


  2. thatwastaxing
    Posted 4 years ago #

    Sorry, this was a CSS issue in the theme.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Local Avatars
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.