Force webp creation if larger than jpeg

[ad_1]

Thanks for this plugin.

Although it’s a great idea to deelete webp copies if files are larger compared to jpgs etc. it would be handy to have a simple option to force webp creation for each intermediate size.

In my case I’m using a custom srcset helper function. It checks if the thumbnail size exists as a webp – if so it adds a webp extension.
It would be helpful to rely on the existence of all webp intermediates once a converted equivalent was found.

Is there any hook/option already available?

Best regards,
herrstrietzel

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer