WP Manifestindependent plugin directory
manifest / media / brayne-image-optimizer

Brayne Image Optimizer

WordPress plugin for image optimization with AI-powered metadata generation

by Isaac Ameyaw - Brayne Digital · github.com/braynedigi/brayne-image-optimizer · website

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/braynedigi/brayne-image-optimizer/archive/refs/heads/main.zip

Optimizes images automatically, reduces file sizes, improves website speed and SEO without quality loss.

Description

Brayne Image Optimizer improves your media library and site performance:

  • Rename files using site name patterns
  • Convert images to WebP and optimize dimensions
  • Configure compression quality and limits
  • Preserve original files (optional) and force WebP usage where available
  • Native lazy-loading and mobile blur preview
  • AI-powered metadata: generate ALT text, titles, descriptions, and captions via OpenAI Vision API

Security and standards:

  • All outputs are properly escaped for HTML attributes and content
  • Nonce validation for AJAX
  • Capability checks for admin actions
  • Sanitization of user inputs
  • Fully localized and ready for translation

Installation

  1. Upload the plugin files to the /wp-content/plugins/brayne-image-optimizer/ directory, or install through the WordPress admin Plugins screen.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Go to Settings → Brayne Image Optimizer to configure options.
  4. (Optional) Enter your OpenAI API key to enable AI features.

Frequently Asked Questions

Do I have to use the OpenAI features?

No. All optimization features (renaming, WebP, dimensions, etc.) work without OpenAI. AI features are optional.

Will this plugin modify original images?

You can preserve originals and create WebP alongside them, or force serving WebP where available.

Is everything translation-ready?

Yes. The plugin loads its text domain from /languages. Please generate or use .po/.mo files as needed.

Screenshots

  1. Admin settings panel
  2. AI configuration options
  3. Bulk processing UI

Changelog

1.1.0

  • Security: escaped all translation strings and outputs for WordPress standards.
  • Admin: improved UI labels and descriptions.
  • Bulk processing: safer AJAX responses and checks.

1.0.0

  • Initial release.

Upgrade Notice

1.1.0

Security hardening and standards compliance. Update recommended.