Back

VibeFox Image Optimizer — Help

Requirements

WordPress: 5.8 or later.

PHP: 8.0 or later with GD or Imagick.

WebP and AVIF: WebP needs GD or Imagick with WebP support (almost every host). AVIF needs PHP 8.1 or later GD built with AVIF, Imagick with AVIF or the avifenc tool. The Dashboard and Settings > Compression > Engines on this server show what your server supports.

Optional server tools: jpegtran, optipng, pngquant, gifsicle, cwebp, avifenc and ImageMagick give better results and are detected automatically.

Optional services: an OpenAI or Google Gemini API key for AI ALT text, a pull CDN, and a Cloudflare API token with the Zone > Cache Purge permission.

VibeFox license key: bought on vibefox.net. One key works on one domain.

Installation

1. In WordPress go to Plugins > Add New > Upload Plugin, choose the plugin ZIP file and click Install Now. You can also upload the vf_image_optimizer folder to /wp-content/plugins/ by FTP.

2. Click Activate. WordPress opens VF Image Optimizer > Settings > License. Paste your VibeFox license key into License key and click Activate. Until the key is active the plugin stays switched off and its menu shows only Settings (see License key).

3. The menu VF Image Optimizer appears in the WordPress admin with the pages Dashboard, Bulk Optimize, Image Editor, Scanner and Settings.

4. Open VF Image Optimizer > Settings and check the compression mode, WebP / AVIF delivery and backups. Click Save Changes.

5. New uploads are optimized automatically. Use VF Image Optimizer > Bulk Optimize for the existing library.

Configuration

All settings are on one page: VF Image Optimizer > Settings. The sections are listed on the left. Click Save Changes to save.

General

Optimize on upload: optimizes every new image right after it is uploaded and when its thumbnails are regenerated. Default: on.

Compression mode:

Lossless: no visible change, smaller savings.
Lossy (recommended): best savings with the quality from the Compression section (default).
Glossy: high-quality lossy (JPEG 90 or higher, PNG lossless).
Smart: picks the JPEG quality per image.
Custom: exactly the quality you set.

Thumbnail sizes: sizes to optimize in addition to the full image. Empty means all sizes.

Resize: max width (px) and Resize: max height (px): full-size images larger than this are scaled down during optimization; the original goes to the backup. 0 = no limit. Default: 2560.

Bulk completion email: emails the site administrator when a bulk run finishes. Default: on.

Compression

JPEG quality: used by the Lossy and Custom modes, and by pngquant for PNG. 75–85 is a good balance. Default: 82.

Minimum savings (%): keeps the original file when compression saves less than this. Default: 2.

Keep EXIF: camera data and GPS position. Removed by default for privacy and size; the orientation tag is always kept when needed. Default: off.

Keep IPTC: copyright, author and caption fields. Default: off.

Keep XMP: editing history and extended metadata. Default: off.

Keep ICC colour profile: recommended, because removing a non-sRGB profile changes the colours. Default: on.

Engines on this server: which tools and libraries were detected.

WebP & AVIF

Create WebP copies: a .webp copy of every JPEG and PNG size (photo.jpg becomes photo.jpg.webp), kept only when smaller. Default: on.

WebP quality: default: 80.

Create AVIF copies: AVIF is about 20% smaller than WebP but slower to encode. Default: off.

AVIF quality: default: 70.

Serve to visitors:

<picture> tags: works on every server and with page caches (default).
Rewrite rules: the same image URL; the server answers with WebP or AVIF when the browser supports it. On Apache the rules are written to uploads/.htaccess automatically; on Nginx add the snippet shown in Server rules.
Off: the copies are created but not served.

Lazy Load

Enable lazy load: images below the fold load when they come near the viewport. Replaces the browser-native loading="lazy". The image marked by WordPress with fetchpriority="high" is never delayed. Default: off.

Placeholder: Blurred preview (LQIP) (default), Dominant colour, Light grey or Transparent.

Load distance (px): starts loading this many pixels before the image enters the viewport. Default: 300.

Exclusions: one per line: .class, #id, [data-attribute] or any text of the img tag, for example a file name. Images with the classes "no-lazy" or "skip-lazy" are always excluded.

Prioritize the main image: on single posts, pages and products the featured image is never lazy-loaded and gets fetchpriority="high". Default: on.

Watermark

Add a watermark: applied during optimization, on upload and in bulk. The backup keeps the clean original, so Restore removes the watermark. Default: off.

Type: Text (default) or Image.

Watermark image: a PNG with transparency is recommended. Scaled to at most 30% of the image width.

Text: empty means the site name. Font size (px): default: 24. Text colour: default: #ffffff.

Opacity (%): default: 50.

Position: Top left, Top center, Top right, Center left, Center, Center right, Bottom left, Bottom center or Bottom right (default).

Margin (px): the distance from the image edge. Default: 10.

Also on sizes: the full image always gets the watermark; pick thumbnail sizes that should get it too.

Backup

Keep originals: copies each original before it is changed, so it can be restored with one click. Without a backup, optimization cannot be undone. Default: on.

Backup folder: empty means the default folder shown in the field. An absolute server path, or a path relative to the WordPress folder, not inside uploads, plugins or themes. Protected from web access on Apache; on Nginx put it outside the web root.

Delete backups after (days): older backups are removed by the daily cron job, and those images can no longer be restored. 0 = keep forever. Default: 0.

Disk usage: the space used by backups.

CDN

Serve images from a CDN: rewrites image URLs on the front end to your pull-CDN domain (BunnyCDN, KeyCDN, CloudFront, Cloudflare and others). Default: off.

CDN URL: the CDN address.

Cloudflare API token and Cloudflare zone ID: optional. With both, the Cloudflare cache of an image is purged automatically after it is optimized or restored.

AI

AI alt text: adds a Generate ALT button to the Media Library and the Scanner. A small preview of the image (at most 768 px) is sent to the selected provider. Default: off.

Provider: OpenAI (default) or Google Gemini.

API key: OpenAI: platform.openai.com/api-keys. Gemini: aistudio.google.com/apikey.

Generate ALT on upload: for new images without ALT text; adds a few seconds to each upload. Default: off.

Language: the language of the ALT text, one of 19 languages. Default: English.

Cron

Scheduled bulk optimization: processes images in the background with WP-Cron. It waits while a manual run is active or paused. Default: off.

Optimization schedule: Fixed interval (default), Hourly or Night window.

Interval (minutes): default: 5. Night window start hour (default: 22) and Night window end hour (default: 6) use the WordPress site timezone.

Images per run: default: 10. Time limit per run (seconds): default: 20.

Images to optimize: Not optimized yet (default), All images (re-optimizes every image once from its backup, then only images not optimized yet) or New uploads only (skips the images that exist when this option is chosen).

External cron token: the secret for the external cron URL. Empty means the URL is disabled.

Background processing: the external cron URL and the scheduled tasks: scheduled bulk optimization, backup retention, automatic scan and log rotation.

Logging

Logging: records optimizations, errors and background jobs. Default: on.

Minimum log level: Info (default), Warning or Error.

Max log file size (MB): the protected log file logs/vf_io_debug.php is rotated when it grows larger. Database entries older than 30 days are removed daily. Default: 5.

The log list below can be filtered by level.

Uninstall & Clear

Delete data on uninstall: when the plugin is deleted, its settings, tables, log, placeholders cache, backups and the generated .webp and .avif files are removed. Optimized images stay optimized. Deactivating never deletes anything. Default: off.

The cleanup buttons below delete selected plugin data now.

Status

The current and minimum versions of PHP and WordPress and the detected multilingual plugin.

Bulk Optimize

VF Image Optimizer > Bulk Optimize shows how many images are not optimized, the current mode, extra formats and whether backups are on. If backups are off, a warning says that optimized images cannot be restored.

Filters: Images (Not optimized yet, Already optimized (re-optimize from backup), Failed last time or All), File type, Uploaded from / to, Min size (KB) and Max size (KB). Click Start optimization. The page shows processed images, saved space and errors, with Pause, Resume and Cancel run. Keep this page open to process the queue; pause, resume and cancel are saved on the server, and the run resumes after a reload. Images already optimized stay optimized when you cancel.

The Scheduled bulk optimization box shows its status, last and next run, and Stop scheduled optimization.

Media Library

The Media Library has a status column with Optimize, re-optimize and Restore buttons, also in the attachment details, and the bulk actions "Optimize images" and "Restore originals". Restore brings back the original files and dimensions and removes the WebP and AVIF copies. Files of deleted attachments are cleaned up.

Image Editor

VF Image Optimizer > Image Editor edits an image in the browser: Crop (aspect ratios), Rotate (90° or a custom angle), Flip, Resize (with Lock aspect ratio), Adjust (brightness, contrast, saturation, hue), Filters (Grayscale, Sepia, Vintage, Warm, Cool, Dramatic), Text, Watermark and Draw (brush, line, rectangle, circle, arrow), with undo, redo, zoom and a before / after comparison. Save (Replace) replaces the image and keeps the original format; the original stays restorable. Save as Copy saves a new image, also in another format, with a quality setting and an estimated size.

Scanner

VF Image Optimizer > Scanner checks the media library for oversized images, missing files, missing ALT text, duplicates, unused images and titles that are just file names. Pick the checks and click Start scan. The scan is read-only. Each issue has actions such as Optimize, Generate ALT, Edit, Resolve and Ignore; ignored issues stay hidden in later scans.

Dashboard

VF Image Optimizer > Dashboard shows optimized images, space saved, WebP and AVIF copies, backup state, formats, the largest unoptimized images and the biggest savings with before and after sizes, and the server capabilities.

How it works

Optimization runs on your server. Results are kept only when they are smaller than the original. Transparent PNGs keep their transparency, and animated PNG, GIF and WebP files are left untouched. Without the command-line tools, lossless JPEG only removes metadata, and lossy PNG applies only to opaque images.

WP-CLI: wp vf-io optimize, restore, convert, stats, scan and cleanup.

Multilingual: works with qTranslate-XT, Polylang and WPML; the Status section shows the detected plugin.

The plugin does not optimize theme or plugin folders, does not convert HEIC, BMP or TIFF, does not create retina sizes and does not lazy-load iframes, videos or background images.

License key

VibeFox license key: bought on vibefox.net. One key works on one domain.

The plugin works only with an activated key. Without it the plugin is switched off: its features, shortcodes, blocks, admin pages, scheduled tasks and e-mails do not run, and its menu shows only Settings with the License tab. Your settings and data are kept and come back as soon as a key is activated. Right after you activate the plugin in Plugins, WordPress opens this tab.

Open VF Image Optimizer > Settings > License, paste the key into License key and click Activate. The plugin switches on at once (the page reloads). The block License — VibeFox Image Optimizer then shows the masked key, the status Active until with the date and the domain, the buttons Check now, Change key, Remove key and the link Manage licenses and domains in your account.

Messages under the field: The key looks incomplete — copy the whole key from your account. (nothing is sent), Key not found. Check that you copied the whole key from your account., This key belongs to another product. (use the key bought for VibeFox Image Optimizer) and Domain limit reached (free a slot for this domain in your account, then click Check now). After the site address changes, click Check now.

An expired license keeps the plugin working, but without updates and support. Remove key switches the plugin off on this site; the domain slot is freed only in your vibefox.net account. If the license server cannot be reached, the plugin keeps working on the last known status. When the plugin is deleted, the key and its status are always removed.

Troubleshooting

The plugin menu shows only Settings: the license key is not active. Open VF Image Optimizer > Settings > License and click Activate (or Check now if a key is already entered); the messages under the field are explained in License key.

Savings are small: try the Lossy mode and install jpegtran, optipng, pngquant and gifsicle on the server.

No AVIF copies are created: the server has no AVIF support. The Dashboard shows the capabilities.

WebP is not served with the rewrite method on Nginx: add the Nginx snippet from Server rules to your server block, or use <picture> tags, which need no server configuration.

The theme uses its own lazy loading: images that already have data-src are skipped. Exclude other images in Lazy Load > Exclusions.

An image cannot be restored: Keep originals was off, or the backup was removed by Delete backups after (days).

An error occurred. Check the log for details.: open Settings > Logging and filter by Error.

Uninstall

Deactivating the plugin only removes its cron events and rewrite rules. To remove it, deactivate and delete it on the Plugins page. Settings, tables, log, backups and the generated WebP and AVIF files are removed only if Delete data on uninstall was on. Optimized images stay optimized. The license key and license status of this plugin are always removed. The domain slot is freed only in your vibefox.net account.

OpenAI, Google Gemini, Cloudflare, BunnyCDN, KeyCDN and CloudFront are trademarks of their respective owners. This plugin is not affiliated with or endorsed by them.

Bug Report

Thank you for helping us improve. We carefully review every report, but we do not reply to them individually. If your report leads to a change, it will be listed in the product changelog together with the report number. To discuss something in detail, please open a support ticket.

Slide to fit the puzzle