New answers tagged

1

I don't think there is any all-in-one solution if theme or plugin uses not resized images. They can reach for source images or even access directly without WordPress functions. So, the only way to truly force this kind of themes/plugins is to edit they source files. Which is known as bad practice. But there are some plugins that can reduce this ...


0

You're right that it just doesn't work like that. If it's OK to think of your question the other way around though, you can get the right outcome in modern browsers using a selection of image sizes and responsive images. If you use code like this: add_image_size( 'custom-size-small', 200, 200, true ); add_image_size( 'custom-size-medium', 300, 300, true );...


0

By default WP support 3 image sizes ie Thumbnail, Medium and Large. If you want to remove any of these then you can use a filter "intermediate_image_sizes_advanced" to remove the default image sizes. function wp_remove_default_image_sizes( $sizes ) { unset( $sizes['thumbnail'] ); // remove thumbnail support unset( $sizes['medium'] ); // remove ...



Top 50 recent answers are included