Support » Plugin: Simple Local Avatars » [Plugin: Simple Local Avatars] Not obeying specified avatar size

  • Resolved thatwastaxing



    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-100×100.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!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Simple Local Avatars] Not obeying specified avatar size’ is closed to new replies.