Squeeze

June 05, 2024

Squeeze Plugin

The Squeeze plugin for WordPress allows you to easily optimize and compress images on your website using the Squoosh.app service.

This plugin uses Squoosh.app compression scripts, allowing you to compress images directly from your WordPress media library or during the image upload process. By compressing your images, you can improve your website\’s performance, reduce bandwidth usage, and enhance the overall user experience.
This is NOT official Squoosh.app plugin. It only uses squoosh.app compression scripts.

Features

  • Image Compression: Automatically compresses images in your WordPress media library using Squoosh.app\’s advanced compression algorithms.
  • Upload Optimization: Compresses images on-the-fly during the upload process, ensuring optimized images are added to your media library.
  • Bulk Compression: Allows you to compress multiple images at once.
  • Selective Compression: Choose which images to compress based on your preferences and requirements.
  • Custom Compression Settings: Adjust compression parameters such as quality, resizing, and format options to suit your specific needs.
  • Restore Option: Provides a restore option to use backup file to restore compressed image to the original image.

Installation

  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.

Screenshots

  1. Squeeze's Basic Settings

    Squeeze's Basic Settings

  2. Squeeze's JPEG compression options

    Squeeze's JPEG compression options

  3. Squeeze's PNG compression options

    Squeeze's PNG compression options

  4. Squeeze's WEBP compression options

    Squeeze's WEBP compression options

  5. Squeeze's AVIF compression options

    Squeeze's AVIF compression options

  6. Squeeze Bulk Compression Page

    Squeeze Bulk Compression Page

  7. Squeeze Restore Option

    Squeeze Restore Option

  8. Non-optimised image

    Non-optimised image

  9. Optimised image with Squeeze Plugin

    Optimised image with Squeeze Plugin

FAQ

How does the plugin work?

The plugin uses Squoosh.app’s compression algorithms and provides you with the ability to compress images in your WordPress media library or during the image upload process.

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

This plugin uses Squoosh.app compression scripts. The images compressed directly in your browser – means no external server used. Squoosh does all the work locally. So you should not worry about privacy.

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?

Currently, the Squeeze plugin supports JPG, PNG and WEBP image formats. More formats are about to be added.

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 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. It supports the same options as Squoosh.app provides.

How can I test compression settings before upload my images to the media library?

You can test different options directly on Squoosh.app. For JPG images select MozJPEG encoder, for PNG images choose OxiPNG.

Changelog

1.4.2

  • Fixed security issue: check permissions for file upload

1.4.1

  • Fixed security issue: Arbitrary File Upload

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.

Details

  • Version: 1.4.2
  • Active installations: 300
  • WordPress Version: 6.0
  • Tested up to: 6.5.5
  • PHP Version: 7.0

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars