Squeeze

Description

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.

Screenshots

  • Squeeze’s Basic Settings
  • Squeeze’s JPEG compression options
  • Squeeze’s PNG compression options
  • Squeeze’s WEBP compression options
  • Squeeze’s AVIF compression options
  • Squeeze Bulk Compression Page
  • Squeeze Restore Option
  • Non-optimised image
  • Optimised image with Squeeze Plugin
  • Bulk restore option in the list view of Media Library

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.

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.

Reviews

March 5, 2024 3 replies
I’ve been waiting for a plugin that can leverage Squoosh compression for years! I’m impressed!If I had one feature request it would be auto resizing to a specific set of dimensions like in Squoosh 🙂
November 10, 2023 1 reply
Great plugin! I’d love webp support if possible.
Read all 2 reviews

Contributors & Developers

“Squeeze” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Squeeze” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.4.5

  • Add bulk restore option to the list view of Media Library
  • Compress selected thumbnails separately

1.4.4

  • Delete .bak file on media delete

1.4.3

  • Fixed minor JS bug

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.