I know this is old, but I just came across it shortly before I came across the solution.
To display the author image inside the loop, just use this code:
<?php echo get_avatar( get_the_author_meta( 'ID' ) , 32 ); ?>
Where ’32’ is the size of the image. If it’s outside the loop, then just specify the author’s user ID.
Related Posts:
- Get attachment ID of author_meta image – Attachment Metadata
- Limit author image size
- Get author ID with attachment ID
- How to remove “Image Information” and “post date/author” from a media page?
- Simple Local Avatar Plugin
- How to change image’s author via a function when using GravityForms uploader? [closed]
- How to get attachements URL from author meta and display them?
- How do I disable responsive images in WP 4.4?
- Set default image sizes in WordPress to hard crop
- After Moving a Site to Another Domain, All Images Are Lost
- How to find attachment by it’s name?
- Modifying an uploaded image with ‘wp_get_image_editor’ and ‘wp_handle_upload_prefilter’
- How do I delete all generated images from my server except those currently used in posts
- Change the output for [gallery] shortcode
- Apply image width to tag
- Excludes posts that don’t have attachments in the_content()
- Remove duplicate images from media library.
- Wrong domain in uploads folder
- How can i alter the amount of different images sizes being stored?
- How to force WordPress to add new images at the beginning of the gallery?
- Why would image paths in wordpress suddenly change?
- Re-process Images
- Show prev and next post links for parent post of current image in attachment page?
- could not upload image in media library
- Why is wordpress searching for @2x images?
- Check if page/post has any anchors that link to an image jpg/gif/png
- Image File Names
- Images in upload folder with hexadecimal names
- How to check if user is uploading/setting an image as a featured image?
- JavaScript and images files are not recognized
- How to remove Geo Tagging on image uploads, but not other EXIF data?
- Trying to create a mouseover effect in html using Gutenberg editor
- How to output images as figure/figcaption
- Make Images appear in the same order as in media browser using get children?
- wordpress get gallery images title
- How to wrap normal image tag with figure HTML5 element
- How to fix “.webp” being auto-added to the end of image urls
- How to find images in lazyload to set alt attribute?
- having issue while uploading An error occured in the upload. Please try again later
- How to change image atributes right before an image to be saved?
- Is it possible to change ‘Link to’ in all images in all articles?
- Is it possible to put images as url in document [closed]
- Creating ‘required’ fields in the ‘add media’ window
- How to replace images?
- Add custom text in the media library image meta area
- Time Based change of image
- Where is the right place to store custom images?
- Load Gallery Images with Title on Homepage BX Slider
- Resize images in batch
- how to get image full path from WP_Post Object?
- Featured Image problem with resizing
- Advice on image heavy site, compression and slow page loads
- Not seeing text alignment option in Image block
- wp_get_attachment_url images in wrong order [closed]
- Blurry images when using add_image_size with crop
- Auto delete pictures in media library by age
- Migrated site – Images have 404 error
- Show (print) featured image all dimensions (height, width)
- Speed Up Website With High Resolution Images
- How to get image URL from media_sideload_image?
- Can’t get text to wrap around image
- Allow SVG in WP step by step
- Serve different images per screen size and cache possible?
- Convert featured images into “product images”
- How come the images arent loading properly?
- How to use the thumbnail size with catch_that_image
- Not able to retrieve image id from sibling site within a switch_to_blog
- How to display a warning when an uploaded image is too small?
- How to link image in WordPress – Elementor when certain element does not offer that option?
- Large uploaded images not resizing?
- Having an issue in compressing Images in wordpress site
- How to generate alt attributes with php / filters?
- Word press cutting sliding images – not displaying the entire image
- Image links broken / “DNS Update Required” message
- Convert multiple image blocks to gallery block in Gutenberg?
- WordPress After migration some images src is empty
- Image sizes reset when changing theme
- How to get featured image of last post in a category?
- How can I add “alt” tag to element?
- Recovered WordPress installation (on localhost) links broken and images not showing
- Image is missing on site homepage
- Custom Background for each page and post
- How can the alt be added to this wooCommerce category image?
- Media sizes do not appear
- How to make Facebook share the featuterd image from url on WordPress
- Changing current post image uls with a function
- Delete images of a particular size
- How to watermark wordpress images from wp-content/uploads folder with htaccess and php?
- How to display every pictures from all the posts on one page?
- How to add multiple images in a page
- Images not rendering
- Retrieving Image Storage path
- Add category description to list of category with taxonomy image
- how to display all images from their siblings/ from same parent?
- How do I get the URL of only the first picture in a WordPress post?
- Specify what to do for a specific image number of the post
- adding images to wordpress pagination?
- How do you change all images dimensions to have the same size?
- Images getting corrupt automatically
- Thumbnail size keeps resetting automatically