WordPress v4.4 introduced an additional image size named medium_large which is is 768px wide by default, with no height limit. There is no UI for the medium_large but the size can be changed by updating the options:
/**
* Updates the medium_large image size.
* It's only necessary to execute this code once.
* Ideally you'd want some kind of UI to allow the dimensions to be specified by the user.
*/
function wpse238808_update_image_size_medium_large() {
update_option( 'medium_large_size_w', 0 );
update_option( 'medium_large_size_h', 0 );
}
add_action( 'init', 'wpse238808_update_image_size_medium_large' );
Changing medium_large‘s width and height to 0 like you’ve done with the other image sizes will prevent the additional images from being generated.
Related Posts:
- WordPress Media Uploader in page template (On Front-end)
- Convert base64 string to WordPress attachment uploads multiple images instead of a single one
- How wordpress handle upload images and how to use them in the code
- Can I get the ID of an inserted / linked image?
- In creating a theme, how can i allow a user to change an image outside post/page content?
- How To Pick Custom Size Of Uploaded Image In Theme Via the_post_thumbnail();?
- wp.media issue with selected image
- Callback Function Not Firing On Selection In Media Uploader
- Can’t upload images on new theme
- Custom Theme functions.php – Using add_settings_field and input type=”file” to set custom logo
- The the_post_thumbnail without srcset?
- Get the first image from post content (eg.: hotlinked images)
- How to modify an image block in Gutenberg WordPress 5?
- Using Images in WordPress – Best Practices
- Adding a custom image upload size and making it selected by default?
- wp_get_attachment_image_attributes not working for me
- Settings in ‘Media > Settings’ is ignored when inserting images
- Specify image dimensions
- How to force Media manager to overwrite files of same name?
- How to get gallery images?
- How to make WordPress use protocol indepentent upload files?
- Featured Image in 4.4 should be larger on mobile device
- How to use the responsive images feature from WP 4.4 in your themes
- Confused about image sizing business in WordPress
- Alter media caption/description conflict in WordPress?
- How do I get gallery thumbnail URL and change the default thumbnail size?
- How can I stop WP media uploader from creating duplicates of my uploaded images?
- upload featured image from front end using wordpress add media button
- Responsive class to all the images in the content
- Get attachments by user
- How to regenerate thumbnails when they’re stored on S3
- Cannot get full thumbnail size using the_post_thumbnail
- How can one update a theme on a live site without interruption?
- How to stop unlink images when remove a site or user
- Adding wp_enqueue_media(); causes problem
- How to upload images using Settings API
- wp_get_attachment_image_src() width and height boolean
- How can I receive the image id using the media box?
- Rename media files generated during upload
- How to float an image in Gutenberg
- Media Uploader in custom path
- Attach media to multiple posts
- Reasons why all thumbnail sizes aren’t working
- How do I Add images uploaded in the post to a default custom field
- Rotating image does not work for custom image sizes
- image in my post disappeared after I upload website to remote server
- Handling image uploads without thickbox
- image url relative path not working in css file
- Default image size not working
- wp_generate_attachment_metadata is creating an empty array
- Ho to add “Create Slider” option to default “Add Media” popup?
- How to upload WordPress Images to remote web server and display those images in WordPress gallery [closed]
- What is the alternative to “ when it comes to calling Media (image) files in the ‘attachment.php’ file?
- How do I include pre-installed images in a theme?
- Images uploaded to the media library has strange colors. However, in the edit screen the color is ok
- Blank upload.php page
- Inserting images in multiple posts native gallery
- What is the meaning of WordPress’s recommended css classes and where are they applied?
- Redirect to another page using contact form 7? [closed]
- WordPress automatically adds links to uploaded images
- Gallery thumbnails very small
- Custom image size vs CSS sizing
- Change Responsive Images Maximum Width of 1600px
- how to retrieve the image title for image Post Format
- Theme logo metadata into template file
- Get featured image with custom size outside WordPress
- How to fix WordPress images not showing up in local hosted XAMPP server?
- Control resizing of uploaded images
- Change Image Sizes for Mobile Theme
- Convert all uploaded PNG files to PNG-8 format
- How to make excerpt image be full size instead of thumbnail?
- Add image URL automatically to custom field?
- Theming media inserts
- How can I remove image taxonomy pages from my theme and from Google?
- Dynamic Image Links Depending on Excerpt/’Single Post’ View
- ACF get_sub_field ALT TAG in the repeater doesn’t show
- WordPress Animation Adjustments
- theme directory fallback image outputs url and not the image
- User uploads image as “Featured Image” but WordPress resizes it?
- Profile image does not upload
- cant upload media/pictures to my wordpress site, cant upload anything to my database
- unable to write to the database while uploading images
- Upload error on localhost (at minimum, not yet tested online)
- unsharp thumbnails after uploading image
- How to add an image to a theme page template in code?
- How to make the media library searchable by image title
- Customizer Image-Picker Preview Not Working
- Images use & location, on new wordpress theme
- Create image with imagepng() (fails at header)
- WordPress Media URLs?
- Broken Media Library
- Retina ready for uploaded images which are cropped
- Is it possible to convert various image types from remote URLs to WebP and then serve them immediately?
- Add rel to all images in a post
- Media Library is not loading on grid view in admin panel
- Blurry Images WordPress 5.8.1
- Isotope overlapping .items because of featured images – HELP! [closed]
- I want to resize post featured image without cropping image. How?
- How To Convert External Image URLs To Own Website’s Uploaded Images Automatically?
- WP “optimizing” PNGs into thumbnails 5X larger than originals – FIX