• underclass

    (@underclass)


    Co-authors plus is adding extra thumbnails to uploaded images in posts and pages rather than just author avatars.

    In class-coauthors-guest-authors.php line 127-130 it is possible to comment out these sizes.

    Is there a way to stop the generation of these extra thumbs for media uploads?

    https://wordpress.org/plugins/co-authors-plus/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m also having an issue with this. It would be great if only the author avatars generated the additional thumbnails because now I have several hundred useless images floating around my uploads folder!

    I wrote this little function for functions.php to prevent the generation of these extraneous images, but it will also prevent the gravatar from generating these images. So take it for what it’s worth.

    function remove_coauthors_images() {
        // Stop Co-Authors Plus from generating thumbnails
        $avatar_sizes = array(
    				32,
    				64,
    				96,
    				128
    			);
        foreach( $avatar_sizes as $size ) {
            remove_image_size( 'guest-author-' . $size);
        }
    }
    add_action('init', 'remove_coauthors_images'); // Remove CoAuthors additional thumbnails
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Co-authors adding extra image thumbs’ is closed to new replies.