• Resolved Ate Up With Motor

    (@ate-up-with-motor)


    I’m having a frustrating problem: I want to completely prevent WordPress from generating image thumbnails, but nothing I try (including steps that have worked before) is working now. Every time I upload an image, it creates 640×300 and (for larger images) 768px thumbnails, no matter what.

    I went into Settings>Media and set all the thumbnail sizes to “0.” This has worked in the past, but it doesn’t work now.

    I checked the current functions.php file for my theme (Ron Angelo’s Frontier), which adds two image sizes (frontier-thumbnail and frontier-featured). My child theme functions.php is still set to remove both those image sizes. This has worked before and doesn’t work now. There aren’t any other theme-specific image sizes.

    (I have uninstalled all the themes other than the one I’m using and its child theme.)

    I tried also adding update_option functions to the child theme functions.php to set the thumbnail sizes to “0.” No dice.

    What on earth can I do to make WordPress stop creating useless thumbnails? The above tricks had worked until relatively recently (there were only these thumbnails for media files uploaded since 4.9). This is amazingly frustrating because those thumbs only waste disk space and make it harder for me to manage my image files.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Did you try using this plugin?

    https://www.ads-software.com/plugins/image-sizes/

    Thread Starter Ate Up With Motor

    (@ate-up-with-motor)

    I’ll give that a shot. I would rather do it from functions.php or core rather than adding yet another plugin, though.

    Based on the settings for that plugin, it appears that the problem is that the Media Settings in WordPress 4.9.6 still don’t include an option for the “medium-large” size (768px), so there’s no way to suppress the creation of that size. I would call that a WordPress bug.

    (The 300×640 is a theme-specific problem that I’ll address to the developer of that theme.)

    Thread Starter Ate Up With Motor

    (@ate-up-with-motor)

    Okay, Jeff Starr of Perishable Press had a solution here.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to completely stop thumbnail generation’ is closed to new replies.