• Resolved pad

    (@pad)


    Basically I use the wordpress image uploader as an uploader to upload into an /avatars folder. All avatars are the same size ALWAYS so I have no use for auto thumbnail creation in my images folder. They are simply wastes of space.

    How can I disable the auto creation of thumbnails, or at least switch it off by default?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Add this to your theme’s functions.php file:

    function change_image_size_limit() {
    return 0;
    }
    add_filter('wp_thumbnail_creation_size_limit','change_image_size_limit');

    The thumbnail creation functions have a size limit on images. Images bigger than 3 megapixels don’t get thumbnails made for them. This bit of code changes that limit to zero, so that no images get thumbnails made for them.

    Thread Starter pad

    (@pad)

    Just the ticket. Cheers Otto!

    Thread Starter pad

    (@pad)

    Hang on. If I do this my RSS feeds stop working…

    Thread Starter pad

    (@pad)

    Forget it. Fixed.

    and what if the theme I’m using doesnt have a functions.php page…as is the case with the one I’m using

    Create one:

    <?php
    
    ?>

    There you go. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How do I disable auto creation of thumbnails?’ is closed to new replies.