[Plugin: User Photo] user photo size with get_avatar
-
I’m using threaded comments with a callback function on wp_list_comments to control the comment display loop. I have these lines in my callback function
<?php if($depth==2) $avatar_size=32; else $avatar_size=48 ?> <?php echo get_avatar($comment,$size=$avatar_size); ?>
And in the User Photo options I have the thumbnail dimension set to 48px, and both Serve Avatar as Fallback and Override Avatar checked. When users have uploaded avatars it is serving them up at a different sizes than 48px, is that just because they don’t get resized on the filesystem? Do I need to manually resize them?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: User Photo] user photo size with get_avatar’ is closed to new replies.