Slimage

plugin banner

A WordPress plugin that uses jpegoptim and optipng to compress images during upload, allowing you…

Author:Giorgos Sarigiannidis (profile at wordpress.org)
WordPress version required:4.8
WordPress version tested:6.4
Plugin version:1.0.3
Added to WordPress repository:12-09-2018
Last updated:05-11-2023
Rating, %:0
Rated by:0
Plugin URI:https://wordpress.org/plugins/slimage/
Total downloads:2 037
Active installs:30+
plugin download
Click to start download

Slimage uses jpegoptim and optipng to compress your images during upload. It will compress the thumbnails that WordPress generates but will leave the original file intact, so that you can safely restore your changes if necessary.

The plugin will also allow you to manually set the compression level and quality on a per-image basis. That way you have absolute control on how much quality you are willing to sacrifice in order to achieve better performance improvements, which can be handy if you want to pass the Google PageSpeed test.

Using it in conjuction with the wp media regenerate command of WP-CLI or with some thumbnail regeneration plugin, you can bulk optimize your photos and even experiment until you find the combination of quality/size that suits you.

To use the plugin you need to have jpegoptim and optipng installed on your server and make sure that PHP shell_exec() function isn’t disabled in your php.ini.

Features

  • Compress an image during upload.
  • You can set a default level of compression for all newly uploaded images.
  • You can override that compression level on a per-image basis.
  • You can use all the available options of jpegoptim and optipng.
  • Combining it with some image regeneration tool, you can bulk compress your existing images.
  • The plugin leaves the original image intact, so that any change that you make can be reversible.

Screenshots
FAQ
ChangeLog