Unfortunately at moment Gravatar service itself only accepts single number for size and only serves square images.
So you have to achieve it with CSS or download, modify and cache images.
Related Posts:
- Removing Gravatar.com support for WordPress and Simple Local Avatars
- How to check if gravatar of user is the default’s one?
- How to get gravatar url alone
- Replace default avatar
- Listing all users by their avatars in wordpress
- How to output nothing instead of default avatar?
- get the avatar url instead of an html img tag when using get_avatar?
- Assign a random avatar to every user?
- get_avatar() default image not working as of wp 3.5 [closed]
- Use Gravatar as fallback image if no local image is not found
- Force users to display default Gravatars
- Which Function Displays The Post Authors Gravatar
- How do I get a post author’s image/avatar via RSS from another blog?
- Gravatar – Default IMG
- Adding avatars/gravatar to a WordPress blog
- Simple Local Avatar Plugin
- WordPress User Gravatar images not displaying. Loading default instead
- Broken Gravatar images in comments
- Convert User’s Avatar/Gravatar to a jpg or png on the Fly
- How do I get the avatar URL instead of an HTML IMG tag when using get_avatar?
- Alternative to using get_avatar function?
- Custom user avatar in the WordPress users listing
- Add aditional class to get_avatar when showing image
- Using Heroku, need to have non-gravatar avatars, but not stored locally
- Upload gravatar in WP profile?
- Use local image for default avatar
- Wrong gravatar showing up?
- Alternative default avatar generator?
- How to replace any occurence of Gravatars with a local placeholder image?
- show author avatar
- Changing default Buddypress avatar affects all site avatars (because gravatar)
- Prompt users to Upload Avatar on Registration
- Replace comment avatars and links at the same time
- Display avatar of user profile when logged in
- Cannot get local avatars to show [closed]
- How to restore $args for get_avatar custom “class”?
- How to change avatar of the comment author using comment ID?
- Displaying avatar of a user
- If Media Type .GIF
- get_avatar won’t show uploaded avatar, only default gravatar
- Change wordpress default avatar with custom plugin
- custom default avatar showing broken link
- Disable Gravatars in WordPress
- Conditional avatar
- Remove hovercard for only certian gravatars
- How to get authors avatar
- TImthumb not working for absolute path
- Change the “Default Avatar” admin option via functions.php
- Large image upload size (using timthumb.php
- show list of latest comments for each post in a loop
- Image resizing – TimThumb vs convert on upload?
- How do I accesss gravatar?
- Timthumb.php image gallery not working on Multisite WordPress
- How do I get a smaller size of an avatar image
- How to change users avatar with specific e-mail addresses
- Custom Field Repeating When Using foreach
- Return WP avatar inside a function
- Hexagon avatar with get_avatar()
- Avatar picture does not display when using get_avatar
- Anyway of specifying avatar height & width?
- How to get all users that uploaded avatars or have gravatars? [closed]
- Author Avatar as default first image
- VT-resize (great alternative to timthumb) : Errors cropping (litespeed, centos 6.3)
- How to set thumbnail for each tag?
- Broken thumbnails (sometimes) with TimThumb
- how to show images without passing it to timthumb.php file for resizing
- How to give users a fixed gallery of avatars to choose from?
- Avatar picture is broken
- Gender based user avatar
- get_avatar_url() how to reset the default image
- get_avatar() returns image with margin-bottom
- Declare global variable that can be used on other function
- WordPress shows admin’s avatar after editing a comment
- How to have a specific image show up for everyone who comments?
- Show custom default avatar instead of gravatar
- WP User Avatar preview for users
- Retrieve meta_value from add_comment_meta
- Thumbs and pictures not showing anymore
- get_avatar not working
- Change the avatar ratio?
- How to display user’s avatar on the top of main menu in WordPress admin panel?
- list all authors outside of loop with photo from /uploads
- How to load locally saved author photos based on author ID
- How to add avatar to authors list?
- How do I add nopin=”nopin” to the default avatar?
- Adding custom avatar field to comments
- Displaying an Uploaded Image as a Custom Avatar in WordPress
- Missing feature image link function
- show hide image script after 4 seconds [closed]
- How can I add an image upload field directly to a custom write panel?
- Restricting users to view only media library items they have uploaded?
- How do I disable responsive images in WP 4.4?
- How To Retrieve An Image Attachment’s Alt Text?
- Filter to remove image dimension attributes?
- How to get a list of all the possible thumbnail sizes set within a theme
- How to get image title/alt attribute?
- User-friendly cropping of post thumbnails?
- WordPress Theme Preview Image
- Image Upload from URL
- Programmatically adding images to media library