I saw this problem recently on a project, and the answer is to disable responsive image markup. Simply add the below code into your theme’s functions.php
and you are golden:
add_filter( 'wp_calculate_image_srcset', '__return_false' );
Ref: How do I disable responsive images in WP 4.4?
Afterwards, you can insert the Medium Large a.k.a. medium_large
images (if enabled) into your post editor and they will load correctly on the frontend.
For the record I think the Medium Large size is very underrated, and saves tons of time. We use it by default in our free HoverCraft theme for featured images, and also the default size for inserting media too. This is a special image size in WordPress because the width is fixed at 768px wide with auto-height depending on the ratio of the image file you uploaded, which makes theming and layout very easy to automate.
Related Posts:
- Custom responsive ‘featured image’ sizes
- Serve different images per screen size and cache possible?
- WordPress Responsive Image ( srcset ) not work properly
- WP is showing wrong image dimensions
- How do I disable responsive images in WP 4.4?
- Filter to remove image dimension attributes?
- Stop wordpress from hardcoding img width and height attributes
- Programmatically get images by URL and save in uploads folder
- How to delete resized (cropped) image uploads and prevent future resizing?
- How to automatically add rounded corners to thumbnails?
- WordPress adding scaled images that don’t exist (1536×1536 and 2048×2048)
- Download an image from a webpage to the default uploads folder
- WP 4.4. responsive images browser choosing the “wrong” one
- the_post_thumbnail responsive srcset not populating with custom image size
- How to change image type for specific size?
- How to insert pictures without hard coded dimensions?
- Is there a hook which fires after all thumbnails are generated?
- is it possible to replace the use of gd_lib with imagick or ImageMagick?
- Featured image shortcode
- How to find attachment by it’s name?
- Change WordPress image URLs via filter
- get_the_post_thumbnail_url with an unregistered size
- Cropped featured image replaces original image in gallery
- Image Scaling using get_the_post_thumbnail issue in WordPress
- Any easy way to automatically set the first inline image in a post as the thumbnail?
- Remove title attribute from images
- Insert an image into a post by API
- How to create thumbnails with a fixed width, so all of them will have the same width?
- How to limit number of images being printer out in “Set Featured Image” pop up?
- Making WordPress Gallery (.gallery-item) Responsive?
- Black and White thumbnails
- WP 4.4 aspect ratio with responsive image
- Programatically creating image attachments from local URLs and setting featured image
- How can I add the “Use as featured image” to a custom metabox?
- set_post_thumbnail_size not cropping featured images, but reducing proportionally
- How to grab first image attached to post and display in RSS feed?
- Double thumbnails?
- Generating Responsive Background Image Sizes in PHP
- How can I serve different images depending on screen size with wordpress
- Why are image thumbnails cropped proportionally (not per dimensions)?
- No srcset for hard-cropped thumbnails
- Is it possible to prevent users from uploading small images?
- Can’t Display Featured Image in RSS Feed
- Displaying a featured image (only img url) as the img src?
- How to output placeholder image if no featured image set?
- Featured Images on Front Page
- Download button for Featured Image in every post – automatically
- Removing Title Tag from Thumbnails
- custom image size with New Media Manager in wordpress 3.5
- Show prev and next post links for parent post of current image in attachment page?
- How to Make WordPress Default gallery responsive on mobile?
- wordpress responsive image srcset not working
- Why are image thumbnails cropped proportionally (not per dimensions)?
- Responsive background images added inline
- Setup A Default Featured Image
- When displaying the featured image, is has_post_thumbnail() necessary?
- Find posts without featured image? [duplicate]
- How do I add a featured image to a single post page?
- Responsive Images – Add srcset attributes to custom Images Function
- Add a featured image in my theme?
- Get a list of all image sizes that match aspect ratio of original one
- Disable wordpress image sizes generation
- Get original image from thumbnail URL
- Featured Image .svg height and width 1px only
- How to exclude an image size from the WordPress srcset
- Get specific image size for small viewport width
- Responsive Images Resizing Images
- How to check if user is uploading/setting an image as a featured image?
- Images are randomly deleted from server
- Frontend Post – Allow Only Image File Upload
- attach unattached featured images to respective posts
- Images not working using Featured post
- Add instructions to featured image
- WordPress reduces the full size image and uses it as the original
- How do I get more image editing options in the admin?
- Thumbnails are bigger in size than the original image
- Featured image (responsive) above content is too small after update to WordPress 4.4
- Remove image classes from post thumbnail output
- How to display a different image size for mobile
- Add Small Image Size to Media Settings
- Lazyload post thumbnails
- Exclude featured image from gallery in wp-admin
- Special purpose photos with each post
- SVG Featured image not shown in twitter
- Featured images not displaying at full resolution
- Woocommerce featured image of page – not product
- WP Responsive images – upload custom image sizes
- Set Post Image Using Shortcode
- Fuzzy Images in WordPress 4.4
- Print specific image size in galley loop
- WordPress crops images differently on retina screens?
- Can’t seem to attach uploaded image to post and set it as thumbnail
- Removing height and width from images with a caption
- Big Image on Featured Post, Normal on Single Post
- offload media to external services [closed]
- Store Snapshot created via wordpress to use with lightbox
- How to create ‘Local’ filters for WordPress srcset sizes in template parts?
- How to stop thumbnail generation from some images and different size thumbnail generate
- Update old Post image metadata to ‘thumbnail’ wp_attached_file
- Multiple amp-image overlays. How to properly do this in wordpress?