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

If the images are all referred to by URLs embedded in post content, then you could just upload the missing files from an old backup.


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 ...


0

There's not enough info to be sure this answer is definitive but here's an attempt. Firstly make sure the image you are uploading is actually larger than the size you have defined. I see people upload images that are too small and then get this sort of result all the time. Secondly, WP will only make up a Srcset list of image sizes with the same aspect ...



Top 50 recent answers are included