Check that medium size of that image is generated or not.
if image is not generated then original image size must be lower then medium size image height width.
If the image size is bigger then you can regenerate thumbnail again. hope it will help.
Related Posts:
- post thumb nail
- wp_get_attachment_image not to get the post_thumbnaill
- Query posts only with featured image
- Count the number of images uploded on the website
- How to paginate attachments in a secondary query as gallery?
- How do I exclude all images from a wp_query?
- Get attachment by slug
- get images attached to post
- In loop: posts have thumbnail AND other variables
- How to display images in related posts?
- Trying to check and see if a post has a featured image outside of the main loop
- query attachments of parent page if attachments of current page are smaller than …
- Query sticky posts with thumbnails
- Retrieve featured image (thumbnail) url from multiple posts with one query
- wp_query for displaying attachments with a tag
- Get image of latest post from taxonomies/categories
- WP Query search for attachments and their exact title
- Multiple instances of Featured Image Query
- post thumbnail not showing up with shortcode
- How WordPress attaches its Featured Images with posts?
- getting post thumbnail within loop causes an error
- WP_Query condition affects posts_per_page count
- Site not getting correct featured image from my query
- Retrieve posts using thumbnail id as meta key
- WP Query – Post Thumbnail
- Redirect to another page using contact form 7? [closed]
- Better wordpress attachment query than this
- How can I check for a thumbnail in WordPress?
- how would i change post->ID to work correctly when querying pages?
- How to display the featured image for each post?
- Query posts only without featured image
- How to add WordPress featured image via SQL
- Display all attached image of every post of custom post type and link to original post
- the_post_thumbnail do 2 queries. How to optimize
- Insert images into wordpress post with a query
- Find only those galleries with images
- WP_Query: attachment image in “full” size?
- Featured images loop for Orbit Slider
- how to put thumbnail below category’s title?
- WP_Query how to add a thumbnail to the first post from the last 5 posts?
- Change database image location for transportability
- WP query retrieve the src of attached image
- Featured Image as Background with Offset
- How To Query All Attachment Images Found In Post Galleries
- Display images with same specific value?
- Featured image not showing on page
- Some images not being returned with wp_get_attachment_image
- Display First posts without the default featured image
- Pull Instagram images into an existing loop?
- Display only posts with thumbnails
- WP_Query by post ID doesn’t work if post is in custom post_status
- Tracing the life of a query
- WP_Query orderby taxonomy term value (numeric)
- How to get post meta value and post in one query?
- Woocommerce custom loop to show all the products [closed]
- Pagination 404 errors for author posts query on author.php
- List the 5 most recent child pages
- Meta-value query
- Save image as featured image
- WP_Query compare with dynamic values
- WP Rest API max limit include parameter?
- Adding multiple post queries with parent and children to page – Best Way
- Programmatically set ‘meta_query’ for filter
- How to scale image with equal width and height without distortion?
- WP Query Exclude and Start by Menu Order Offset
- WP_Query Excluding pages with Order is 0
- Complex Orderby Parameters: How to query with multiple orderby parameters using meta_value_num?
- Show all post for a given category
- WP_Query create html structure
- How is WP_Query parsed to determine which template to request?
- For homepage images (for small business website), is it better to use custom fields or post_thumbnail?
- Include current post into loop
- How do I amend wp_query before it is run/executed?
- Post Thumbnail URL isn’t pulling into the background of div
- Is it possible to preserve original images in order to change image size later?
- how to get Nearby zipcode
- Exclude authors IDs from WP_Query
- Reload Query Loop When FacetWP Uncheck [closed]
- WP Query Compare cutting off last 2 dates
- Wpdb->query result show 1 but is not an integer
- Loop 3 posts column wise and continue the loop into same columns
- Use default image as var
- Query Taxonomy By Page Title
- WP_Query custom order and pagination
- Why is the value zero going in my custom database table?
- function wp() does not use meta_query?
- Determine if ID is page or post and query the ID
- get_children() Archive Template
- What’s the best way to make a blog page on WordPress?
- Populate select list with meta values from all posts of a Custom Post Type
- Exclude post from wp_query based on custom field boolean
- meta_query with relation = AND not working as expected when combining EQUALS with NOT EQUALS
- Using something else instead of using 9 wp_query
- Different number of posts showing in development vs production server
- Order WP_Query results in order other than ASC or DESC
- More efficient query to display posts in same sub-category?
- Get post closest to today
- Pagination in custom query not working [duplicate]
- $query_args for loop to only get posts from “current category”?
- How do I have multiple metaqueries inside one wordpress query