开发者 | barb0ss |
---|---|
更新时间 | 2025年1月28日 22:21 |
PHP版本: | 7.0 及以上 |
WordPress版本: | 6.7 |
版权: | GPLv3 |
版权网址: | 版权信息 |
The plugin uses client-side compression algorithms and provides you with the ability to compress images in your WordPress media library or during the image upload process.
Because the compression process happens directly into your browser - it depends on your device’s performance.
It may happen if you are trying to compress a PNG image with a high resolution. In that case, you should wait a while, until the image finishes its compression or a “Request timed out.” error message occurs.
Go to the plugin’s setting page (Settings -> Squeeze). At the “Basic Settings” tab increase the value of the field “Squeeze timeout”. By default it equals 60 seconds, try to make it bigger. If the error still persists, that means the script cannot process your image.
The images compressed directly in your browser – means no external server used. Squeeze does all the work locally. So you should not worry about privacy.
Yes! The Squeeze plugin supports converting images to the WEBP format during the compression process. WEBP is a modern image format that provides superior compression while maintaining high quality, resulting in faster loading times and reduced bandwidth usage. To enable this feature, simply check the "Generate WEBP" option under the Basic Settings tab to output images in WEBP format.
By default, the Squeeze plugin adds rules to your .htaccess file to serve WEBP images automatically. This means that when a browser supports the WEBP format, the corresponding WEBP version of an image will be served without changing the original image's URL. This allows seamless integration without disrupting your website's existing structure. If you enable the "Replace Images URLs" option in the plugin settings, the plugin will directly replace all image URLs on your pages with their corresponding WEBP versions. This can be useful for ensuring that WEBP images are explicitly used everywhere on your site. The generated WEBP images are stored in the wp-content/squeeze-webp folder within your WordPress installation. = Which scripts are used for compressing and converting images? The Squeeze plugin utilizes the same scripts and libraries that power the Squoosh.app, an open-source project by the Google Chrome team. These include highly efficient image processing libraries such as:
Image compression helps improve your website's performance by reducing the file size of images without significantly impacting their quality. Smaller image files load faster, resulting in faster page load times and a better user experience. Additionally, compressed images consume less bandwidth, which can be beneficial for websites with limited hosting resources or mobile users with limited data plans.
Squeeze plugin supports JPG, PNG, WEBP and AVIF image formats.
Yes, the plugin provides a bulk compression feature. This saves time and effort compared to compressing images individually.
Yes, you can compress images from any folder within your WordPress installation.
Yes, the plugin allows you to customize various compression settings according to your preferences. The Settings page is located at Settings -> Squeeze.