Skip to content

Releases: wikiwyrhead/webp-image-optimizer

WebP Image Optimizer v2.0.0 — AI Alt Text, Bulk Operations & UI Overhaul

Choose a tag to compare

@wikiwyrhead wikiwyrhead released this 05 Mar 04:08

Major release introducing AI-powered alt text generation, bulk operations, a statistics dashboard, and a completely redesigned admin interface.

Highlights:

  • AI Alt Text with 8 vision providers (NVIDIA Build, OpenAI, Claude, Gemini, Grok, Mistral, Groq, OpenRouter)
  • Auto-generate on upload, per-image button in Media Library, and bulk generation for all images missing alt text
  • Bulk WebP Conversion with progress bar, log, and stop button
  • Statistics Dashboard — total images, WebP count, bytes saved, coverage chart
  • Tabbed admin UI — Settings / Bulk Convert / Statistics
  • HEIF/HEIC support via ImageMagick
  • Settings link on the Plugins page
  • 50 MB safety limit, debug logging, reasoning model fallback
  • Quick Start: Enable AI Alt Text → Select NVIDIA Build (free) → Paste API key → Test Connection → Save. Done.

Full Changelog: v1.3.0...v2.0.0

WebP Image Optimizer 1.3.0 – In‑admin Docs Modal, Tools Menu Move, UX

Choose a tag to compare

@wikiwyrhead wikiwyrhead released this 22 Aug 14:21

Highlights

  • In‑admin documentation modal for “Learn more”:
    • Inline docs mirroring README anchors
    • Two‑column layout with sticky left TOC
    • Smooth scrolling + scrollspy active highlighting
    • “Open in new tab” to corresponding README anchors
  • Contextual “Help & Tips” card with per‑user Show/Hide state (AJAX, nonce‑protected)
  • Moved plugin page from Settings to Tools for clearer discoverability
  • Accessibility and UX upgrades (ARIA, Esc to close, focus management)
  • Robust TOC behavior even when content is too short to scroll

What changed

  • Admin UI: replaced external iframe with inline docs modal; sticky nav, smooth scrolling, scrollspy
  • Location: Tools → WebP Image Optimizer (moved from Settings)
  • Docs: expanded inline guidance; README updates (features, Tools path, changelog)
  • Version: bumped to 1.3.0

Files touched

  • includes/class-admin.php — Tools menu registration, settings UI, inline modal content
  • assets/js/admin.js — modal open/close, smooth scrolling, scrollspy; short-content fix
  • assets/css/admin.css — modal layout, two‑column docs, sticky nav, responsive styles
  • webp-image-optimizer.php — version constant and cache‑busting via version
  • README.md — features, usage, and 1.3.0 changelog

Upgrade notes

  • UI now under Tools → WebP Image Optimizer
  • No breaking changes; existing settings preserved

Requirements

  • WordPress 5.0+, PHP 7.0+, GD or Imagick

Full Changelog: v1.2.4...v1.3.0

WebP Image Optimizer v1.2.4

Choose a tag to compare

@wikiwyrhead wikiwyrhead released this 03 May 15:06

WebP Image Optimizer v1.2.4

A comprehensive update to the WebP Image Optimizer plugin for WordPress, focused on reliability, efficiency, and user experience.

Description

This release introduces robust file management and improved image conversion logic. When images are deleted from the Media Library, all related files—including originals, WebP versions, and intermediate sizes—are now properly removed from the file system. PNG images are converted using lossy compression by default, with an option for lossless conversion; note that lossless mode ignores the quality setting. SVG has been removed from the list of allowed image types, as it cannot be converted to WebP. All admin settings, including checkboxes, now save and reflect their state accurately. The conversion process is more robust, always stripping metadata, reducing color palettes for lossy PNGs, and providing debug logging for file sizes before and after conversion.

This update ensures more efficient storage usage, better compatibility, and a smoother experience for site administrators.

Changelog

  • Improved deletion: When deleting an image from the Media Library, all related files (original, WebP, and intermediate sizes) are now properly deleted from the file system.
  • Lossy/lossless PNG handling: PNGs are now lossy by default unless lossless is explicitly selected. Lossless mode ignores the quality setting, as expected.
  • Removed SVG from Allowed Image Types (SVG cannot be converted to WebP).
  • Fixed admin settings: All checkboxes now save and reflect their state correctly, including 'Set Alt Text'.
  • Improved conversion robustness: Always strips metadata, reduces color palette for lossy PNGs, and adds debug logging for file sizes before/after conversion.

Full Changelog: v1.2.3...v1.2.4

WebP Image Optimizer - Version 1.2.3

Choose a tag to compare

@wikiwyrhead wikiwyrhead released this 03 May 12:11

WebP Image Optimizer - Version 1.2.3

Release Date: (Add today’s date)

Summary:

This release focuses on stability, codebase cleanliness, and improved maintainability for the WebP Image Optimizer plugin.

What’s New:

  • Test Feature: Added a test feature to the settings page for the "Retain Original Image" option.
  • Documentation: Updated plugin description and features list.
  • Cleanup: Removed unused test-functions.php from the codebase for improved maintainability.

Changelog:

  • Added a test feature to the settings page to test the "Retain Original Image" feature.
  • Updated the plugin description and features list.
  • Removed unused test-functions.php from the includes directory.

License:

This plugin is licensed under the GPLv2 or later license. See the LICENSE file for details.

Full Changelog: https://github.com/wikiwyrhead/webp-image-optimizer/commits/v1.2.3

WebP Image Optimizer - Version 1.2.2

Choose a tag to compare

@wikiwyrhead wikiwyrhead released this 11 Aug 12:04

WebP Image Optimizer - Version 1.2.2

Release Date: August 11, 2024

Summary:

This release introduces significant improvements and new features for the WebP Image Optimizer plugin, enhancing its functionality and user experience.

New Features:

  • Admin Dashboard: Added a comprehensive settings page under 'Settings' for easier configuration:

    • Option to retain or delete original images after WebP conversion.
    • Ability to set image quality and WebP compression method.
    • Support for additional image types (BMP, TIFF, SVG).
    • Option to automatically set alt text based on the image filename.
  • Extended Image Format Support: Included support for BMP, TIFF, and SVG image formats.

  • Fallback Support: Implemented fallback to the GD library if ImageMagick is unavailable.

  • Error Handling and Logging: Added mechanisms to handle and log errors related to image conversion failures.

  • Bug Fixes:

    • Fixed issue with duplicate WebP files by disabling default WordPress image sizes to save disk space.
  • Code Organization: Refactored code into separate files for improved maintainability.

  • Updated Plugin Information: Updated the plugin description, author information, and version.

Changelog:

  • Version 1.2.2 (August 11, 2024):

    • Added admin dashboard under 'Settings' for configuring plugin options:
      • Option to retain or delete original images after WebP conversion.
      • Ability to set image quality and WebP compression method.
      • Support for additional image types (BMP, TIFF, SVG).
      • Option to automatically set alt text based on the image filename.
    • Extended image format support to include BMP, TIFF, and SVG.
    • Implemented fallback to GD library if ImageMagick is unavailable.
    • Added error handling and logging for conversion failures.
    • Fixed bug causing duplicate WebP files by disabling default WordPress image sizes.
    • Organized code into separate files for better maintainability.
    • Updated plugin description, author information, and version.
  • Version 1.2.0:

    • Added feature to automatically set image alt text based on the filename upon upload.
    • Added a checkbox in the plugin settings to enable/disable the new feature.
  • Version 1.1.1:

    • Fixed minor bugs related to WebP conversion and quality settings.
  • Version 1.0.0:

    • Initial release with automatic WebP conversion and customizable settings.

License:

This plugin is licensed under the GPLv2 or later license. See the LICENSE file for details.

Full Changelog: v1.2.0...v1.2.2

Version 1.2.0 - Alt Text Automation Added

Choose a tag to compare

@wikiwyrhead wikiwyrhead released this 10 Aug 10:45

WebP Image Optimizer v1.2.0

This release introduces a new feature that automatically sets the image alt text based on the filename upon upload. The alt text is formatted by removing hyphens and converting the text to sentence case. Additionally, a new option has been added to the plugin's settings page to enable or disable this feature.

Changelog:

  • New Feature: Automatic setting of image alt text based on the image filename during upload.
  • Settings Update: Added a checkbox in the admin dashboard to enable or disable the new alt text feature.
  • Improvement: Retained all existing functionalities, ensuring backward compatibility with previous versions.

Installation/Update Instructions:

  1. Download the plugin zip file or clone the repository.
  2. Upload it to your WordPress site via Plugins > Add New > Upload Plugin.
  3. Activate the plugin if it’s not already active.
  4. Visit Settings > WebP Image Optimizer to configure the new alt text setting and other options.

Files Affected:

  • webp-image-optimizer.php
  • admin-dashboard.php
    c