I want wordpress to stop making multiple size images cause it’s going to eat up my storage space. So I went Settings > Media and then set all the sizes to 0. When I uploaded a new image it still is making 2 copies for example:

achannel.jpg
achannel-346x288.jpg

although they are both full size images so why does it need to create another full size image?

2 Answers
2

add_filter('intermediate_image_sizes_advanced', 'filter_image_sizes');
function filter_image_sizes( $sizes) {

    unset( $sizes['thumbnail']);
    unset( $sizes['medium']);
    unset( $sizes['large']);

    return $sizes;
}

Leave a Reply

Your email address will not be published. Required fields are marked *