WordPress.org

Ready to get started?Download WordPress

Forums

Auto Post Thumbnail
How to make this plugin stop generating extra images? (4 posts)

  1. oomskaap
    Member
    Posted 2 years ago #

    I have an image. Lets say its pot.jpg
    In my uploads folder i see

    pot.jpg 166x166
    pot.jpg 300x300
    pot.jpg 700x700

    etc. I prefer not to have all this unnecessary images filling up my disk space. I initially thought it only takes the first image of a post and creates a thumbnail. Not duplicates in different sizes.
    All i want is a simple 166x166 thumbnail. Not 1 petabytes of images i don't use. Anyone know of a way to stop this?

    http://wordpress.org/extend/plugins/auto-post-thumbnail/

  2. oomskaap
    Member
    Posted 2 years ago #

    Turns out its a wordpress thumbnail feature that automatically generates the additional size images, which you may not need. I had to use a new function to disable that.

  3. lization1
    Member
    Posted 1 year ago #

    Can you tell me how you did that? What function did you use? Thanks

  4. PinkishHue
    Member
    Posted 1 year ago #

    This info should be helpful to you:

    http://wordpress.stackexchange.com/questions/7724/how-can-i-stop-wp-media-uploader-from-creating-duplicates-of-my-uploaded-images

    QUOTE:

    I believe the following should stop thumbnails from being created. If you're wanting to remove some then and unset the $size[{size}]. Following sizes are there "thumbnail","medium","large","post-thumbnail".

    add_filter('intermediate_image_sizes_advanced','stop_thumbs');
    function stop_thumbs($sizes){
    return array();
    }

    or this plugin: http://wordpress.org/extend/plugins/additional-image-sizes-zui/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.