I found the culprit!
WordPress 5.3 introduced additional image sizes which can be found via /wp-includes/media.php.
Updating my function, like so, removed the extra sizes:
function remove_default_image_sizes( $sizes) {
unset( $sizes['large']); // Added to remove 1024
unset( $sizes['thumbnail']);
unset( $sizes['medium']);
unset( $sizes['medium_large']);
unset( $sizes['1536x1536']);
unset( $sizes['2048x2048']);
return $sizes;
}
add_filter('intermediate_image_sizes_advanced', 'remove_default_image_sizes');
Related Posts:
- Filter to remove image dimension attributes?
- Stop wordpress from hardcoding img width and height attributes
- How to extend the gallery block in Gutenberg?
- Set default image link target in Gutenberg image block
- Is there a hook which fires after all thumbnails are generated?
- Featured image shortcode
- How to find attachment by it’s name?
- Cropped featured image replaces original image in gallery
- Image Scaling using get_the_post_thumbnail issue in WordPress
- 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?
- Black and White thumbnails
- How can I add the “Use as featured image” to a custom metabox?
- Apply image width to tag
- How to output placeholder image if no featured image set?
- Featured Images on Front Page
- Download button for Featured Image in every post – automatically
- Show prev and next post links for parent post of current image in attachment page?
- Add a featured image in my theme?
- @wordpress/create-block image url in css
- Featured Image .svg height and width 1px only
- Extend core block attributes in post content
- How to check if user is uploading/setting an image as a featured image?
- Images are randomly deleted from server
- hardcrop images in gutenberg “latest posts” block
- Thumbnails are bigger in size than the original image
- Lazyload post thumbnails
- Exclude featured image from gallery in wp-admin
- Trying to create a mouseover effect in html using Gutenberg editor
- Featured images not displaying at full resolution
- Big Image on Featured Post, Normal on Single Post
- offload media to external services [closed]
- Update old Post image metadata to ‘thumbnail’ wp_attached_file
- How to stop wordpress always displaying full-res images
- Add width & height attributes to Gutenberg’s image output?
- WP keeps looking up post thumbnail on https even though wp-config says http
- WordPress PNG compression issue
- How to replace images?
- Fixing image names for a site being restored
- Export xml use/import images from theme directory
- Custom Loop, Match Category with Page: How to display post featured image?
- How do I get my main image to stretch the full length of the screen?
- Get custom thumbnail sizes [duplicate]
- Custom responsive ‘featured image’ sizes
- How to set uploaded image as featured image wordpress
- Retrieve Image Attachments Getting Post Thumbnail Image First
- How to display original unmodified thumbnail
- Is there a wordpress filter to edit the markup of inline images?
- How can I check if the first block is an image aligned left or right?
- How to force WordPress to upscale images?
- Not seeing text alignment option in Image block
- How to set featured image from external url programmatically
- Hide Featured Image box – isn’t working?
- Show (print) featured image all dimensions (height, width)
- Serve different images per screen size and cache possible?
- Set two default featured images
- Product Images Low Quality After Updating From WP 3.5 to 4 [closed]
- adding image to post thumbnail from another server
- Set Featured Image not opening – Stuck at loading
- Convert featured images into “product images”
- Resize uploaded images [duplicate]
- resize and crop thumbnail photos
- How to use the thumbnail size with catch_that_image
- Thumbnail and image management
- Change Image Size option in the settings in bulk
- How to disable a WP Image Block to link to itself?
- my featured image of wordpress are not showing in the front end though image are uploaded in media library
- How to change Gallery image url in product page ? In function.php?
- How is called this thumbnail slider feature
- Rebuilding core image block
- Custom image size not displaying with wp_get_attachment_image()
- How to use default image as featured image by implement some code in function.php
- WordPress Multisite: Images moved to /sites/1?
- How to delete original image file after upload and resize
- attachment_fields_to_save first parameter is null
- Show featured image in all posts
- A query to substitute images paths in gutenberg (website migration)?
- Convert multiple image blocks to gallery block in Gutenberg?
- Image alt attribute
- I cannot upload images to post or the media library in wordpress
- Images missing from Blog post page
- Custom Background for each page and post
- second featured post not displaying on page [closed]
- Delete post if featured image is smaller than Y pixels by Y pixels
- How to display image thumbnails on the search results page?
- Url link to feature image in the portfolio [closed]
- How do I get resized thumbnails?
- Making a thumbnail if there exist a link with. jpg or .png extension in WordPress
- Why is WordPress loading a different sized post thumbnail?
- Title image is missing ( but is not the WP 3.5 issue )
- Images will not attach to posts after site migration
- Using the on-board image editor for featured images: edits are not being used
- Custom filename when pasting an image from clipboard
- Tried everything but Facebook share button won’t load the post thumbnail
- WP is showing wrong image dimensions
- Why some images are not allowed to be edited only for thumbnails?
- How to add year and month path to old attachment images?
- How do I display a PDF thumbnail as a link to the PDF without uploading the image
- medium_large image size not displaying properly on the frontend?
- Featured Image add tab