I’ve been looking around the net for a long time on how to disable WordPress from creating multiple thumbnails.
I’ve seen in most tutorials to set all the images to 0 in the media section. I have done that, but going to my uploads folder and it still creates multiple images.
I can’t find any solution for this. The reason I want this is to save space on my host account.
To built on Max Yudin’s answer you should use the intermediate_image_sizes_advanced
filter, and not image_size_names_choose
. Add to functions.php
function add_image_insert_override($sizes){
unset( $sizes['thumbnail']);
unset( $sizes['medium']);
unset( $sizes['large']);
return $sizes;
}
add_filter('intermediate_image_sizes_advanced', 'add_image_insert_override' );
Another easier option I think works is going to your Settings–>Media and setting each box for width and height to 0