WP Manifestindependent plugin directory
manifest / performance / optimized-images

Optimized Images

WordPress plugin: Imagify-style image optimization — auto-optimize on upload, bulk compression, WebP conversion, backup/restore, pluggable local or TinyPNG engine.

by Mohammad Freihat · github.com/freihat1993/optimized-images

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/freihat1993/optimized-images/archive/refs/heads/main.zip

Readme

Optimized Images

Imagify-style image optimization for WordPress — auto-optimize on upload, bulk compression, WebP conversion, and one-click backup & restore, with a pluggable local or cloud compression engine.

Version: 1.0.1 · Requires: WordPress 6.0+, PHP 7.4+ · License: GPL-2.0-or-later


Overview

Optimized Images compresses your WordPress images to make pages load faster, without sacrificing visible quality.

Features

  • Auto-optimize on upload — every new image is compressed the moment it lands in the Media Library, including all generated thumbnail sizes.
  • Bulk optimization — process your entire existing library from one page, one image at a time so large sites never hit a PHP timeout. The run is resumable.
  • WebP conversion — generate WebP copies and serve them automatically to supported browsers via a <picture> fallback, no server config needed.
  • Backup & restore — keep a pristine copy of each original and restore it (rebuilding all thumbnails) with one click.
  • Pluggable engine — compress locally with GD / Imagick out of the box, or plug in the TinyPNG cloud API for stronger results. Third parties can register a provider via the isq_providers filter.
  • Compression levels — Lossless, Balanced, or Aggressive.

Architecture

optimized-images.php
includes/
├── class-isq-plugin.php        Bootstrap
├── class-isq-optimizer.php     Optimization orchestration
├── class-isq-compressor.php    Compression pipeline
├── class-isq-webp.php          WebP generation + <picture> serving
├── class-isq-backup.php        Original backup / restore
├── class-isq-media.php         Media Library integration
├── class-isq-fs.php            Filesystem helpers
├── class-isq-db.php            Custom table + state
├── class-isq-settings.php      Settings
├── class-isq-security.php      Nonce / capability layer
└── providers/
    ├── interface-isq-provider.php
    ├── class-isq-provider-local.php     GD / Imagick
    └── class-isq-provider-tinypng.php   TinyPNG cloud API
admin/                          Dashboard, bulk and settings screens

Installation

  1. Upload the optimized-images folder to /wp-content/plugins/, or install the zip via Plugins → Add New → Upload Plugin.
  2. Activate the plugin.
  3. Open Optimized Images in the admin menu, choose a compression level and engine, then run a bulk optimization or let new uploads optimize automatically.

Author

Mohammad Freihat — WordPress developer, Amman, Jordan GitHub · LinkedIn

License

GPL-2.0-or-later. See LICENSE.

Read the full README on GitHub →