
This plugin helps to increase site speed, and helps to improve scores in Google’s Pagespeed Insights tool by addressing the common recommendation “Serve next-gen image formats”.
For the best speeds, Google recommends using new image formats such as .webp, which offer smaller file sizes than common formats such as .jpg or .png with no visible loss in quality. However, not all internet browsers support the .wepb image format, so only using that format would result in broken images in older browsers.
This plugin addresses that problem, and allows your site to use .webp images when it can. This plugin will convert images from .jpg or .png automatically, and save .webp versions of the image alongside the original. When a user visits the site in a compatible browser, they will be shown the .webp versions of all images, making your site load faster and improving your scores in Google Pagespeed Insights. Users on older browsers that aren’t compatible with .webp images will be shown the .jpg or .png versions of the images instead.
When first installing the plugin, run the Bulk Converter to convert all your existing images. See the Installation section for instructions.
After installation, any .jpg or .png image uploaded to the Media Library will be automatically converted.
Conversion quality – Controls the level of compression on the generated .webp images. The lower the value, the smaller the file size of the generated images, but the more chance there is of a visual degradation of quality. The quality value to be entered is a percentage – by default, this is set at 80%. Most users won’t need to change this.
HTML Output Buffering – This allows the plugin to perform a find-and-replace on the HTML that WordPress has generated for output to the browser to replace image tags. This tends to perform the image tag replacement more reliably, but can cause issues with some themes. Users are advised to have this setting turned on, but they should check that the site is displaying as it should, and turn this option off if any issues arise.
Exclude pages from HTML output buffering – To specify pages that should be excluded from the HTML Output Buffering settings
Lazy loading – This improves the site speed further by not loading images that are further down the page until the user has scrolled down to them. This saves time downloading images that the user hasn’t got to yet, or might not get to at all. Users are advised to have this setting turned on, but they should check that the site is displaying as it should, and turn this option off if any issues arise.
Exclude image classes from lazy-loading – To specify images, by class name, that should not have the lazy-loading applied
If using Simple Webp Images with your custom themes or plugins, there’s a couple of filters you can use, as below.
Use this to exclude pages or posts from the HTML output buffering via apply_filters, using any critera you need. Call the filter, run any checks you need, and return ‘true’ to exclude the current page or post from the buffering.
Example:
apply_filters( 'simple-webp-images-exclude-from-output-buffering', 'exclude_page_with_id_100_from_output_buffering' ); function exclude_page_with_id_100_from_output_buffering( $is_excluded ) { if( get_the_id() == 100 ) { return true; } return false; } The example code could be placed in your functions.php file.
Use this to exclude pages or posts from the image lazy loading via apply_filters, using any critera you need. Call the filter, run any checks you need, and return ‘true’ to exclude the current page or post from the lazy loading.
Example:
apply_filters( 'simple-webp-images-exclude-from-lazy-loading', 'exclude_page_with_id_100_from_lazy_loading' ); function exclude_page_with_id_100_from_lazy_loading( $is_excluded ) { if( get_the_id() == 100 ) { return true; } return false; } The example code could be placed in your functions.php file.
Starting from $0 per month.
Rating
Reviewers
3 reviews
Tags
Developed By
Mike Bricknell-Barlow
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Use a Cookie Banner to inform visitors about cookies on your site and let them manage their consent in a clear, structured way.
Show product updates, new features, and announcements in a What's New popup that keeps users informed and engaged.
Create business listings with a listings widget that presents companies clearly, supports easy organization, and helps visitors find the right services quickly.
Use skill flip cards to showcase your abilities in a clear, interactive format that strengthens your profile and improves your chances of getting hired.
Display locations with company branch flip cards that help customers find nearby offices, understand key details, and enjoy a smoother overall experience.
Show payment method logos that highlight accepted payment options, build trust at checkout, and help visitors feel confident completing their purchase.
Add an FAQ section to your site to answer common questions, reduce support requests, and give visitors a smoother and more confident user experience.
Create interactive March Madness brackets where users can make predictions, track tournament progress, and compete with others throughout every round.
Show progress with animated progress circles that visualize goals, display achievements, and keep visitors engaged.
Add interactive two-sided cards with flip effects to present front and back content in a compact, engaging format.
Present dishes with restaurant menu flip cards that highlight key details, help visitors explore options easily, and support confident ordering decisions.
Scroll to element button that improves navigation by letting visitors jump directly to key sections, reducing friction and boosting overall engagement.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
