Omni Image Optimizer Documentation

Version: 1.1.0

Table of Contents

Introduction

omni Image Optimizer is a powerful WordPress plugin designed to enhance your website's image management and SEO. It automatically renames uploaded images using your site name, converts images to WebP format, optimizes image dimensions, and generates SEO-friendly ALT text and metadata using OpenAI Vision API.

Key Features

Installation

  1. Download the omni Image Optimizer plugin ZIP file.
  2. Log in to your WordPress admin panel.
  3. Navigate to Plugins → Add New → Upload Plugin.
  4. Click "Choose File" and select the downloaded ZIP file.
  5. Click "Install Now" and wait for the installation to complete.
  6. Click "Activate Plugin" to activate omni Image Optimizer.

After activation, you'll find the omni Image Optimizer settings under Settings → Image Optimizer in your WordPress admin menu.

General Settings

The General Settings section allows you to enable or disable the plugin functionality.

Enable Image Optimizer

Toggle this option to enable or disable the plugin. When disabled, images will be uploaded normally without any modifications.

Note: Even when the plugin is disabled, you can still access the settings and bulk processing features.

File Naming Settings

Control how your uploaded images are renamed.

File Naming Pattern

Choose a pattern for renaming uploaded images. Available options:

Note: Special characters in the site name will be removed, and spaces will be replaced with hyphens in the filename.

Image Optimization Settings

Configure how images are optimized during upload.

Convert to WebP

Toggle this option to automatically convert uploaded images to WebP format. WebP provides superior compression and quality characteristics compared to JPEG and PNG formats, resulting in smaller file sizes and faster loading times.

Maximum Width (px)

Set the maximum width for uploaded images. Images wider than this value will be resized while maintaining the aspect ratio. Leave empty or set to 0 to keep the original width.

Maximum Height (px)

Set the maximum height for uploaded images. Images taller than this value will be resized while maintaining the aspect ratio. Leave empty or set to 0 to keep the original height.

JPEG Quality

Set the quality level for JPEG images (1-100). Higher values result in better image quality but larger file sizes. The recommended value is 80-90 for a good balance between quality and file size.

WebP Quality

Set the quality level for WebP images (1-100). Higher values result in better image quality but larger file sizes. The recommended value is 80-90 for a good balance between quality and file size.

Watermark Settings

Configure text watermarks for your images.

Enable Watermark

Toggle this option to add a text watermark to uploaded images.

Watermark Text

Enter the text to use as a watermark. This could be your website name, copyright information, or any other text you want to display on your images.

Watermark Position

Choose where to place the watermark on the image:

Watermark Opacity

Set the opacity level for the watermark (0-100). Lower values make the watermark more transparent.

Note: The plugin will attempt to use TrueType fonts (TTF) for better-looking watermarks. If no TTF fonts are found on the server, it will fall back to the built-in font.

AI Settings

Configure the OpenAI integration for automatic ALT text and metadata generation.

OpenAI API Key

Enter your OpenAI API key to enable AI features. You can obtain an API key from the OpenAI website.

Enable AI Features

Toggle this option to enable or disable AI-powered features. When enabled, the plugin will use OpenAI's Vision API to analyze images and generate appropriate ALT text and metadata.

ALT Text Pattern

Choose how ALT text should be generated:

Custom ALT Text Pattern

If you selected "Custom Pattern" above, enter your pattern here. You can use the following placeholders:

Auto-fill Image Title

Toggle this option to automatically fill the image title using AI-generated content.

Auto-fill Image Caption

Toggle this option to automatically fill the image caption using AI-generated content.

Auto-fill Image Description

Toggle this option to automatically fill the image description using AI-generated content.

Keywords

Enter optional keywords to guide the AI in generating more relevant descriptions. Separate multiple keywords with commas.

Important: Using the OpenAI API will incur costs based on your OpenAI account. Please check the OpenAI pricing page for current rates.

Bulk Processing

The Bulk Processing feature allows you to apply image optimization and AI metadata generation to existing images in your media library.

Process Images

Choose which images to process:

Time Period Selection

When "Recent images" is selected, you can choose from various time periods:

Batch Size

Choose how many images to process in each batch:

Bulk Processing Steps

  1. Select your desired filter (images without ALT text, all images, or recent images).
  2. The plugin will automatically check how many images match your criteria.
  3. Click "Start Processing" to begin the bulk operation.
  4. Monitor the progress in the log section.
  5. You can stop the processing at any time by clicking "Stop Processing".

Note: Bulk processing is performed via AJAX in the background, allowing you to navigate away from the page without interrupting the process.

Frequently Asked Questions

Does this plugin modify my original images?

Yes, the plugin modifies uploaded images according to your settings. It's recommended to keep backups of your original images if needed.

Will converting to WebP affect browser compatibility?

WebP is supported by all modern browsers. For older browsers that don't support WebP, WordPress will automatically serve the original format.

How much does the OpenAI integration cost?

The cost depends on your usage and OpenAI's current pricing. The plugin uses the Vision API, which is charged based on the number of API calls and tokens used.

Can I use this plugin without the OpenAI features?

Yes, you can use the image optimization, renaming, and watermarking features without enabling the AI features.

Will the plugin affect my existing images?

No, the plugin only affects newly uploaded images unless you specifically use the Bulk Processing feature to modify existing images.

Troubleshooting

Images are not being optimized

Watermark is not appearing

AI features are not working

Bulk processing stops or shows errors

For additional support, please contact support@omni.com or visit https://omni.com/support.