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
- Programmatically get images by URL and save in uploads folder
- How to extend the gallery block in Gutenberg?
- Set default image link target in Gutenberg image block
- How to automatically add rounded corners to thumbnails?
- Download an image from a webpage to the default uploads folder
- How to change image type for specific size?
- get_post_gallery with Gutenberg
- 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?
- Black and White thumbnails
- How to include externally hosted images into a gallery block
- Programatically creating image attachments from local URLs and setting featured image
- How can I add the “Use as featured image” to a custom metabox?
- Apply image width to tag
- 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?
- 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
- How to link Gutenberg Gallery images To Media file automatically?
- Removing Title Tag from Thumbnails
- Show prev and next post links for parent post of current image in attachment page?
- 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?
- Add a featured image in my theme?
- How to Add extra option to Image Block Settings?
- @wordpress/create-block image url in css
- Disable wordpress image sizes generation
- Get original image from thumbnail URL
- How to remove buttons from gutenberg toolbar
- 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
- Gutenberg editor get post featured image by id
- hardcrop images in gutenberg “latest posts” block
- 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
- Remove image classes from post thumbnail output
- Lazyload post thumbnails
- Exclude featured image from gallery in wp-admin
- How do I get resized thumbnails?
- Black and White Thumbnail in WordPress Gallery
- Making a thumbnail if there exist a link with. jpg or .png extension in WordPress
- Why is WordPress loading a different sized post thumbnail?
- Create post thumbnails from images stored outside of uploads directory
- Title image is missing ( but is not the WP 3.5 issue )
- Images will not attach to posts after site migration
- Getting top Image From the Gallery and printing out a thumbnail with Exact Dimensions
- 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
- has_post_thumbnail() Returns False on Scheduled Posts
- WP is showing wrong image dimensions
- Why some images are not allowed to be edited only for thumbnails?
- I tried to move the featured image below the paragraphs but now it is displaying twice
- How to import external media items into wordpress media library (without using storage)
- Multisite image URLs incorrect in editor
- How can I use an image from an external source without uploading it to the media library
- Gutenberg block HTML image rendering override
- Edit multiple posts featured image
- Is there a way to upscale a media library original image to the nearest whole pixel in WordPress?
- Get field added via attachment_fields_to_edit filter in Gutenberg
- Define how an attached image is rendered
- How to get rid of a blank space where the featured image used to be?
- How to add year and month path to old attachment images?
- How can I scan my entire site for every image to know each image’s size and dimensions and url?
- Image size not showing up in ‘wp/v2/media’
- How to add images inside an item of a list in Gutenberg
- How to upload multiple images to use as gallery in Kirki Framework
- Adding or replacing image size
- 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
- Extend the list view in gutenberg editor?