
A drop dead simple and lightweight image, iframe, and video optimization plugin to satisfy Google PageSpeed Insights, Lighthouse, and overall user experience.
This tiny little plugin (around 14kb zipped) will automatically
Should works well with all page builders and theme builders. This plugin also able to lazy loading WooCommerce images and preloading WooCommerce product featured images.
Lazysizes is highly performant lazy load library, written by Alexander Farkas in pure JS with no dependencies.
Taken from lazysize’s github description:
High performance and SEO friendly lazy loader for images (responsive and normal), iframes and more, that detects any visibility changes triggered through user interaction, CSS or JavaScript without configuration.
Example filter to add extra lazyload exclude list:
add_filter( 'lpam_extra_exclude_list', function($lpam_extra_exclude_list) { return array( 'my-logo', 'my-hero-img', 'exclude-lazy' ); } ); Example filter to change lazysizes config (Read the docs):
add_filter( 'lpam_lazysizes_js_before', function($lpam_lazysizes_js_before) { return 'window.lazySizesConfig = { expand: 500, threshold: 500 };' } ); Example filter to change the image sizes for preload featured image:
add_filter( 'lpam_preload_featured_images_image_size', function($image_size, $post) { if ( is_singular( 'post' ) ) { return 'large'; } elseif ( is_singular( 'product' ) ) { return 'full'; } else { return $image_size; } }, 10, 2 ); [new since 1.0.2] Example to disable the preload featured image feature in certain page-type:
add_filter('disable_featured_image_preload', function ($disable) { if ( is_singular( 'post' ) ) { return true; } }); [new since 1.0.3] Example to disable adding image dimension in certain page-type:
add_filter('disable_img_dimension', function ($disable) { if ( is_singular( 'post' ) ) { return true; } }); [new since 1.0.3] Example to disable this plugin completely in certain page using url:
add_filter('lazy_load_excluded_pages', function ($excludedPages) { $excludedPages[] = '/page-1'; $excludedPages[] = '/page-2'; return $excludedPages; }); [new since 1.0.3] Example to disable this plugin completely in certain page using page ID:
add_filter('lazy_load_excluded_page_ids', function ($excludedPageIDs) { $excludedPageIDs[] = 3678; // Exclude page with ID 1 $excludedPageIDs[] = 3615; // Exclude page with ID 2 return $excludedPageIDs; }); [new since 1.0.4] To disable the tag:
add_filter('disable_noscript', '__return_true');
Optimize More!: A Do It Yourself WordPress Optimization Plugin that give you the ability to:
Load CSS Asynchronously – selectively load CSS file(s) asynchronously on selected post/page types.
Delay CSS and JS until User Interaction – selectively delay CSS/JS load until user interaction on selected post/page types.
Preload Critical CSS, JS, and Font Files – selectively preload critical CSS/JS/Font file(s) on selected post/page types.
Remove Unused CSS and JS Files – selectively remove unused CSS/JS file(s) on selected post/page types.
Defer JS – selectively defer loading JavaScript file(s) on selected post/page types.
Advance Defer JS – hold JavaScripts load until everything else has been loaded. Adapted from the legendary varvy’s defer js method *recommended for defer loading 3rd party scripts like ads, pixels, and trackers
Load Gutenberg CSS conditionally
Remove Passive Listener Warnings
Shop Extra – A lightweight plugin to optimize your WooCommerce & Business site that makes you able to:
Animate on Scroll – Animate any Elements on scroll using the popular AOS JS library simply by adding class names. This plugin helps you integrate easily with AOS JS library to add any AOS animations to WordPress. Simply add the desired AOS animation to your element class name with “aos-” prefix and the plugin will add the corresponding aos attribute to the element tag.
Need to optimize more? Try my WordPress Page Speed Optimization’s Service.
Starting from $0 per month.
Rating
Reviewers
No reviews
Tags
Developed By
Arya Dhiratara
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.
Create interactive diagrams with a diagrams widget that lets you build and customize flow charts, improve clarity, and help visitors understand complex ideas easily.
Add a call button to your site so visitors can tap to start a phone call instantly, improving direct communication access.
Display multiple image carousels together in one organized grid layout.

Showcase visuals with an image wall that creates a parallax style gallery, offers smooth scrolling, and presents images in customizable, engaging layouts.
Showcase images with an image carousel that rotates or slides visuals, improves design, and draws attention to key content.
Create custom forms with a form builder that offers advanced field types, easy layout control, and flexible options for any purpose.
Nudge button with a subtle shaking animation that draws attention to important calls to action, increases interaction, and helps boost conversions.
Collect candidate information with a job application form that organizes submissions, streamlines hiring, and helps you manage applicants efficiently.
Add announcements to your site to share important updates, keep visitors informed, and guide them toward actions that support engagement and conversions.
Collect user insights with a feedback form that gathers valuable input, improves user experience, and helps you understand visitor needs more clearly.
Bracket generator for creating interactive tournaments that organize matchups, track progress, and deliver a clear and engaging competition experience.
Show Capterra reviews to build trust, strengthen credibility, and help visitors make confident software buying decisions that support higher sales.
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!
