Linux 软件免费装
Banner图

Squeeze

开发者 barb0ss
更新时间 2025年1月28日 22:21
PHP版本: 7.0 及以上
WordPress版本: 6.7
版权: GPLv3
版权网址: 版权信息

标签

optimize images compress images image compression image optimization convert webp

下载

1.5.1 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5.2 1.4.8 1.5 1.1 1.2 1.4 1.3 1.4.1 1.4.2 1.0 1.4.9

详情介绍:

Boost your site speed and performance by reducing the sizes of your images! Squeeze plugin optimizes and compresses images on your website directly in your browser. No extra server used, no limits for images compression.

安装:

  1. Download the plugin ZIP file from the WordPress Plugin Directory, or install the plugin via the WordPress plugin installer.
  2. Extract the ZIP file (if downloaded from WordPress Plugin Directory).
  3. Upload the plugin folder to the wp-content/plugins/ directory of your WordPress installation.
  4. Activate the Squeeze plugin from the WordPress plugins dashboard.

屏幕截图:

  • Squeeze's Bulk Compression Page
  • Squeeze's Restore and Recompress Options
  • Serving WEBP images instead of JPG and PNG. Even though the URL of the image remains the same, the response is in the WEBP format.
  • Replacing images URLs with the corresponding WEBP version. If your server does not support .htaccess file or it is not writable, then you can use this option to replace your images URLs and serve WEBP images.
  • Squeeze's Basic Settings
  • Squeeze's JPEG compression settings
  • Squeeze's PNG compression settings
  • Squeeze's WebP compression settings
  • Squeeze's AVIF compression settings
  • Squeeze's Bulk actions in the List view of the Media Library
  • Squeeze's Filter in the Grid view of the Media Library

升级注意事项:

1.5.2
  • Fixed webp convertion
  • Added option to select image formats
1.5.1
  • Fixed webworker bug: terminate it on complete squeezing
1.5
  • Added WEBP serving for JPG and PNG images.
  • Minor UI updates (savings label on the comparison table)
1.4.9
  • Added UI popup for bulk directory squeeze
  • Added filters to the Media Library
1.4.8
  • Added webworker
  • Fixed pause/resume on bulk Squeeze
  • Minor UI/UX updates
1.4.7
  • Updated plugin's UI and description
  • Moved JS and CSS backend to external files
  • Added sprite.svg for backend icons
  • Updated restore defaults handler function
1.4.6
  • Bulk compress option for the list view of the Media Library
  • Pause/Resume option for the bulk compress process
  • Fixed bugs with the list mode
  • Fixed bug when bulk process stuck if image processing failed
  • Added timeout for image compression process
  • Refactored JS code
1.4.5
  • Add bulk restore option to the list view of Media Library
  • Compress selected thumbnails separately
1.4
  • Add AVIF support
1.3
  • Add WEBP support
  • Update settings page layout with tabs
  • Add ability to re-compress images
  • Add ability to compress images from custom folder
1.2
  • Fix minor bug in Media library
1.1
  • Fix PNG compressor
1.0
  • First release.

常见问题:

How does the plugin work?

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.

What does the speed of image compression depend on?

Because the compression process happens directly into your browser - it depends on your device’s performance.

Image compression process seems to be stuck. The browser doesn't respond.

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.

How to fix a “Request timed out” error

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.

How are the images processed? Are they sent to an external server?

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.

Can this plugin convert images to the WEBP format?

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.

How are WEBP images served?

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:

  • MozJPEG: Used for compressing JPEG images.
  • OxiPNG: Used for compressing PNG images.
  • WebP: Used for converting and compressing images to the modern WEBP format.
  • AVIF: An advanced codec for creating lightweight and high-quality AVIF images.

Why should I use image compression on my website?

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.

Which image formats does the Squeeze plugin work with?

Squeeze plugin supports JPG, PNG, WEBP and AVIF image formats.

Can I compress multiple images at once?

Yes, the plugin provides a bulk compression feature. This saves time and effort compared to compressing images individually.

Can I compress images NOT from the Media Library, but from a custom folder?

Yes, you can compress images from any folder within your WordPress installation.

Can I customize the compression settings?

Yes, the plugin allows you to customize various compression settings according to your preferences. The Settings page is located at Settings -> Squeeze.

更新日志:

1.5.2 1.5.1 1.5 1.4.9 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4 1.3 1.2 1.1 1.0