• Good day.
    When you load an image, WordPress regenerates copies of it in different sizes. Most of them I don’t need. I disabled them using code.

    function shapeSpace_disable_image_sizes($sizes) {
    	unset($sizes['thumbnail']);    // отключение миниатюр
    	return $sizes;
    }
    add_action('intermediate_image_sizes_advanced', 'shapeSpace_disable_image_sizes');

    But I can’t figure out how to turn off the size 100×100?
    Can you give me a name for this size or an alternative way to remove it?

    • This topic was modified 4 years, 3 months ago by ilyapokrov.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Remove regenerated images’ is closed to new replies.