Wordpress: disabled thumbnails, still multiple images per upload on server

by 4 comments
I don't want wordpress to create thumbnails of the images I upload. I only want the original image on my server.

I added this to my functions.php

Code:
function wplift_remove_image_sizes( $sizes) {
        unset( $sizes['thumbnail']);
        unset( $sizes['medium']);
        unset( $sizes['large']);

        return $sizes;
}
add_filter('intermediate_image_sizes_advanced', 'wplift_remove_image_sizes');
And this fixed the issue of having 4 copies of my image on the server. But there still is one copy left and I can't seem to get rid of it.
When I upload an image, a second copy in a different size is created.
I have disabled all my plugins and tried a different theme, but can't seem to find what is creating this second image.

Any thoughts?
#programming #disabled #multiple #thumbnails #wordpress

Next Topics on Trending Feed