WordPress plugin

Use H2I inside WordPress: optimise images, write alt text and work with PDFs from the Media Library.
Guide
4 min read
Updated Dec 5, 2026

The Davix H2I plugin brings your Davix H2I account into WordPress. From the Media Library and from your posts you can optimize and edit images, make social cards, write alt text and search texts with AI, work with PDFs, and keep a history of everything it did. The work is done by Davix H2I, so your plan, allowance and limits apply.

Requirements

Connect your site

  1. Install and activate the plugin. A Davix H2I item appears in the admin menu, and a setup wizard opens the first time.
  2. Open Davix H2I > Account and paste your API key from the Dashboard.
  3. Test it, then choose Save connection. The plugin then shows your plan.

Until a key is saved, a notice reminds administrators on the Plugins, Media and Dashboard screens.

Where the key is kept

The key is stored encrypted in your database and is never shown again; only its last four characters are. If you prefer, define it in wp-config.php instead:

define( 'DAVIX_H2I_API_KEY', 'your key' );

The screens

Screen What it is for
Dashboard Your plan, your library and what is happening
Account Connection (your key) and Plan (what your plan allows)
Automatic Rules that run by themselves. See Automatic rules
Activity Background jobs, and Review for results that wait for your approval
AI AI settings and status
Library Your presets and templates (the same ones as in Studio and the Dashboard)
History Everything the plugin did, with the option to put an original back
Settings Performance, Privacy and data, and Import / Export of the plugin settings (your key is never exported)
Help Help and debug logs

Work on files in the Media Library

Tick one or more files in the Media Library, or in a list of posts, and open the Davix H2I sidebar. It shows what your plan allows for that many items. The Image tab has steps you can combine: optimize, convert, resize, crop, transform, effects, padding, frame, background and watermark. There are also tabs to write texts with AI, to use AI actions, to make a QR code and to render.

Your original is kept for the time you set under Settings > Privacy and data, and History can put it back. After that time the original is deleted.

Faster images with modern formats

The plugin can make WebP and AVIF copies of your images. The originals stay as they are. On your pages an image is shown with the modern copy for browsers that can show it, and every other visitor still gets the original from the same page. Because nothing depends on the visitor’s browser on the server, page caches and CDNs keep working.

Widgets for your pages

You can make a QR code, a chart, an AI image or a PDF button once, by pressing Generate in the block editor, Bricks or Elementor, or in Studio. Visitors only see the stored file. Each widget also has a shortcode: [davix_qr image="123"], [davix_chart image="123"], [davix_ai_image image="123"] and [davix_pdf]. Any setting of a widget can be given as an attribute, for example align="left".

Plan limits

An action your plan does not include is shown as unavailable. Your allowance is shared with Studio, the API and everything else on your account, and you can see it in the plugin and in the Dashboard. See Understand usage and limits.

Who can use it

By default anyone who can upload files can use the plugin. You can change this under Settings > Privacy and data. People without the manage capability only see their own actions.

Notifications

The plugin can tell you by email, by a signed webhook, or both, when your plan is nearly used up, background work was paused, a bulk run finished, or a job failed. Each kind is limited so a repeating problem never floods you. The webhook is a JSON POST with the header X-Davix-Signature, which holds sha256= and the HMAC-SHA256 of the body made with your signing secret.

Commands for WP-CLI

wp davix verify                 # test the key and show the plan
wp davix limits [--refresh]     # what your plan allows
wp davix queue [status|run|retry|resume|clear]
wp davix history [--limit=20]
wp davix optimize 12,15         # or "all"
wp davix alt-text 12,15         # or "all"; --queue to review the suggestions later
wp davix bulk optimize --dry-run   # actions: optimize, modern, alt, gps, pdf

Next: Automatic rules. Prefer workflows? See the n8n node.

Checked against the Davix H2I plugin source code.

Was this article helpful?
Thanks for your feedback.
ON THIS PAGE
NEED A HAND?
Cannot find what you need? Our team replies fast.
Contact support
Still stuck?

Talk to a human

Send us a message and we will get back to you quickly.