manifest / performance / mai-performance-images
Mai Performance Images
Optimizes image delivery through automatic resizing and WebP conversion with static file caching.
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/maithemewp/mai-performance-images/archive/refs/heads/develop.zipFrom the readme
Mai Performance Images
A WordPress plugin that adds dynamic image loading to the block editor, optimizing image delivery through automatic resizing and WebP conversion.
Description
Mai Performance Images handles image optimization in WordPress by:
1. Dynamically resizing images based on viewport size
2. Converting images to WebP format
3. Processing images in the background
4. Supporting lazy loading configuration in the block editor
Installation
1. Upload the plugin files to /wp-content/plugins/mai-performance-images
2. Activate the plugin through the WordPress admin interface
3. Images will automatically be processed when loaded through supported blocks
Requirements
- WordPress 6.7+
- PHP 8.2+
Development
Namespace Prefixing with Strauss
This plugin uses Strauss to prefix the deliciousbrains/wp-background-processing library to avoid namespace conflicts. The prefixed code is stored in the vendor-prefixed/ directory.
After running composer update, you need to regenerate the prefixed dependencies:
This command will:
1. Download the Strauss PHAR if needed
2. Run Strauss to prefix the configured packages
3. Regenerate the Composer autoloader
Note: The prefix-namespaces sc