A comprehensive toolkit for WordPress performance and functionality improvements.
- Automatic conversion of uploaded images to WebP format
- Configurable image resizing (max width/height)
- Adjustable compression quality
- EXIF orientation handling
- Intelligent file size comparison (keeps original if WebP isn't smaller)
- Support for JPEG, PNG, GIF, and HEIC formats
- Requires: ImageMagick PHP extension
- Blocks external host requests from known CDNs and services
- Improves performance for Iranian hosting environments
- Reduces unnecessary external API calls
- Extract the plugin folder to
wp-content/plugins/ - Activate the plugin from WordPress admin panel
- Configure settings in Settings > Media
- WordPress 5.0+
- PHP 7.2+
- ImageMagick PHP extension (for WebP conversion)
Navigate to Settings > Media to configure:
- Enable/disable WebP conversion
- Set maximum image dimensions
- Adjust compression quality (1-100)
wp_tools/
├── wp-tools.php # Main plugin file
├── includes/
│ ├── image-tool.php # WebP converter module
│ └── iran-host-speedup.php # Performance optimization module
├── assets/
│ └── css/
│ └── image-tool.css # Admin styles
├── languages/ # Translation files
└── README.md # This file
mojtabahbb - https://www.mojtabahbb.ir/
GPL-2.0-or-later