ShortPixel Adaptive Images
🎨 ShortPixel Adaptive Images – WebP, AVIF, CDN, Image Optimization
WPThemeDetector has detected that ShortPixel Adaptive Images – WebP, AVIF, CDN, Image Optimization is a popular WordPress plugin, which is expertly developed by the talented author named ! It has an impressive 4.8 out of 5 ratings (based on 139 user reviews), with up to 10000 number of downloads, showcasing its wide user base and trust. : This plugin infomation is last updated on December 7, 2024.
Download Plugin Best Web HostingIn this section, WPThemeDetector provides detailed information about the WordPress plugin ShortPixel Adaptive Images – WebP, AVIF, CDN, Image Optimization, including the plugin’s author, the latest version, user reviews & ratings, downloads, screenshots, etc.
Plugin Name | ShortPixel Adaptive Images – WebP, AVIF, CDN, Image Optimization 🔗 |
Popularity | Active Installs: 10000🔹Star Ratings: 4.8 out of 5 🔹User Reviews: 139 |
More Info | Current Version: 3.9.4🔹Author: 🔹Last Updated On: October 1, 2024🔹Required WP: 4.7🔹Required PHP: 5.6.40 |
Tags | AVIF, convert, image optimization, lazy load, webp |
Description | An easy-to-use plugin that lets you solve any problems with images and improve your website’s Core Web Vitals in a minute. Imagine if you could solve all your website’s image-related problems and increase pagespeed and performance with a simple click, would not that be great? Using ShortPixel Adaptive Images also helps with Core Web Vitals (CWV)‘s Largest Contentful Paint (LCP), First Input Delay (FID) and Cumulative Layout Shift (CLS). Do I need this plugin?If you have a WordPress website with images, the answer is most likely yes! What are the benefits?What are the features?
Do I need an account to test this plugin?No, just install it and activate it on your WordPress website. You will then automatically receive 500 MB of CDN traffic every month. That’s about 500 visits/month! How much does it cost?When using ShortPixel Adaptive Images, only CDN traffic is counted if you choose to use our CDN. With the free plan, you get 100 credits for image optimization, which is equivalent to 500 MB of CDN traffic or about 500 visits/month. Paid plans start at $4.99 and are available as both one-time and monthly plans. How does it work?Different visitors have different devices (laptop, mobile phone, tablet), each with its own screen resolution. ShortPixel AI takes into account the resolution of the device and then provides the right size image for each placeholder. Other plugins by ShortPixel:
Get in touch!
WP CLI commandsUse the following WP CLI commands to clear the CSS cache and the Low Quality Image Placeholders: For developersIf there are main images in the Media Library that end with the usual thumbnail size suffix (e.g. -100×100), please set this in wp-config.php:
If you need to do post-processing in JavaScript after the image/tag has been updated by ShortPixel AI, you can add a callback like this:
To change the original URL of the image that is detected by ShortPixel, use this filter that receives the original URL:
Sometimes when the option to crop images is enabled, SPAI thinks it is not safe to crop an image, but you want to crop it anyway. Please add this attribute to force cropping:
ShortPixel Adaptive Images triggers a JS event after the initial processing of the HTML page in the browser: spai-body-handled, an event after each processed DOM mutation when at least one URL has been replaced: spai-block-handled and an event after the URL of each element has its URL updated lazily ( entering the viewport): spai-element-handled To exclude certain images, you can also add the following attributes within the ‘IMG’ tag to the markup:
For adding custom replacement rules use:
The function is given an array and should append to that array elements with the following structure: [‘tagName’, ‘attrToBeChecked’, ‘classFilter’, ‘attributeFilter’, false(reserved), ‘attributeValueFilter’, isEager(bool)]. As of version 3.0, you can also append ShortPixelAITagRule instances, something like this.
The parameters of the rule are, in this order: In the same manner if you need a rule to be applied only on the front-end (javascript) you can use the following filter:
This rule will only be applied by the New JS Engine (so you need to have the option enabled) and is useful if you have content that is rendered by JavaScript and you need the replacement to be made after the content is rendered. continue reading... |
Screenshot | |
Plugin Homepage | Download This Plugin |
ShortPixel Adaptive Images Website Examples
WP Theme Detector analyzes public information on WordPress websites. Information may not be 100% accurate. Some plugins cannot be detected, and others have poor detection accuracy. It is cached for a certain period to reduce load.
🔥Recommended WordPress resources
WordPress is a versatile and powerful platform, and creating a website in 2024 requires the right resources. Here are some recommended tools to help you make the most of your WordPress journey: