How to label AI-generated images in WordPress

Updated 18 November 2026

AI Disclosure: This content includes AI-generated text.

Short answer: under the EU AI Act, a WordPress site must visibly label AI-generated or AI-edited images that could pass as real (deepfakes), at the latest when a visitor first sees them. You can do this with a caption, a badge on the image, or a plugin that labels images automatically. A note in the footer or privacy policy is not enough. This guide shows which images need a label, what a good label looks like, and four ways to add one in WordPress, from a free manual method to a plugin.

Legal basis checked on 18 November 2026 against Article 50 of the AI Act, the Commission’s Article 50 guidelines and the EU icons for AI-generated content. Sources are at the end.

Which images need a label?

Article 50(4) says deployers who publish an image that is a deepfake must disclose that it was artificially generated or manipulated. The AI Act defines a deepfake as content that “resembles existing persons, objects, places, entities or events and would falsely appear to a person to be authentic or truthful”. The Commission’s guidelines make the test objective: what matters is whether a viewer could take it as real, not whether you meant to deceive.

Image on your siteLabel required?
Realistic AI “photo” of your team, office or customersYes
AI product shot showing a product that looks real, in use or in a settingYes
Real photo with people, objects or background added or swapped by AIYes
Realistic AI image of a place or eventYes
Real photo with only colour correction, cropping or noise removalGenerally no
Obvious illustration, cartoon, icon or abstract backgroundGenerally no, but labelling is good practice
Clearly artistic, satirical or fictional imageA lighter disclosure is enough

Two practical rules help. First, if you would hesitate to say “this is a photo”, label it. Second, labelling an image that did not strictly need it costs nothing, while a missing label on a realistic image is an easy finding for a regulator. The duty has applied since 2 August 2026, and the guidelines say images published before that date do not need retroactive labels.

What a compliant label looks like

  • Visible at first sight. Article 50(5) requires the information to be clear and distinguishable at the latest at the time of first exposure. Put it on the image or directly under it, not in a tooltip only, a lightbox or a separate page.
  • Plain words. “AI-generated image” or “Edited with AI” works. Avoid vague wording such as “digitally enhanced”.
  • Accessible. The label must meet accessibility requirements. Use real text with enough contrast, not text baked into a tiny graphic, and mention it in the alt text, for example “AI-generated image of a team meeting”.
  • Optional EU icon. The Commission offers free icons for AI-generated and AI-modified content in SVG and PNG. Using them is optional; the label itself is not.
  • Everywhere the image appears. Featured images, galleries, sliders and social share images can show the same file in several places. The label should follow it.

Four ways to label AI images in WordPress

1. Image caption (free, manual)

In the block editor, select the image, click under it and type a caption such as “AI-generated image”. In the Classic Editor, add the caption in the image details. In Elementor, set the Image widget’s caption to “Custom caption”. This is fully compliant for content images, but it is easy to forget, and captions do not show on featured images or in most sliders.

2. A badge with a CSS class (free, needs a little CSS)

Give the image block an extra CSS class, for example ai-label (Block settings → Advanced → Additional CSS class), wrap it in a Group if your theme needs a positioned parent, and add this under Appearance → Customize → Additional CSS:

.ai-label { position: relative; }
.ai-label::after {
  content: "AI-generated";
  position: absolute; left: 8px; bottom: 8px;
  padding: 2px 8px; border-radius: 4px;
  background: rgba(0,0,0,.75); color: #fff;
  font: 600 12px/1.6 system-ui, sans-serif;
}

Screen readers do not reliably announce CSS-generated text, so also mention it in the alt text. This method still depends on someone remembering to add the class.

3. Embed the label in the image file (free, permanent)

You can add the EU icon or the words “AI-generated” in a corner of the image before uploading. The label then travels with the file wherever it is shared. The downsides: it changes the image, it is not readable by screen readers, and you need to re-export every image.

4. A labelling plugin (free, automatic)

A plugin can flag images in the media library and add the label wherever the image appears. Our free plugin, EU AI Act Ready, does this in three steps:

  1. Scan. It checks new uploads and your existing library for signs of AI generation, such as metadata, EXIF data and file names exported by common generators.
  2. Review. You confirm or correct each flag in the media library. Detection is a heuristic and can flag old digital photos, so this step matters.
  3. Label. Flagged images get a visible label with a tooltip in Gutenberg, the Classic Editor, Elementor (including background images and sliders), Bricks Builder and featured images.

The setup guide takes about 15 minutes. Other plugins take different approaches, for example writing an AI marker into the image file. Our plugin comparison lists the differences.

Common pitfalls

  • Background images. Many themes show hero and header images as CSS backgrounds, which captions and most labelling methods cannot reach. Check these by hand.
  • Optimised copies. Image optimisers and CDNs often strip metadata. That can hide the AI signals a scanner relies on, so do not treat “not flagged” as proof that an image is a real photo.
  • Stock images. Many stock libraries now include AI images. Check the licence page or the contributor’s notes before assuming a stock image is a photo.
  • Social previews. If an AI image is your Open Graph image, the label on your page does not appear in the Facebook or LinkedIn preview. Use a non-AI image there, or one with the label built in.

A 10-minute check for your site

  1. Open Media → Library and filter by uploads since August 2026.
  2. Note every realistic image that was generated or heavily edited with AI.
  3. Find where each one is used: content, featured image, slider, background, share image.
  4. Add a label using one of the four methods above.
  5. Write two lines in your internal notes: who decides what gets labelled, and how.

For what changes for AI tool makers on 2 December 2026, read the image marking deadline explained. For text and placement, see do you need to disclose AI-generated content and where to place AI disclosures.

FAQ

Is alt text enough as a label?
No. Alt text is only read by screen readers and search engines. The label must be visible to every visitor; alt text should repeat it.

Do I need to label AI images I used before August 2026?
According to the Commission’s guidelines, not retroactively. Labelling them anyway is simple and avoids questions.

My image generator adds Content Credentials. Do I still need a label?
Yes, if the image could pass as real. Machine-readable marks are for software; visitors cannot see them.

What is the fine for a missing label?
Breaches of Article 50 can reach EUR 15 million or 3% of worldwide turnover, with the lower amount applying to SMEs. See EU AI Act fines explained.

Sources

This guide is general information, not legal advice. Written by the EU AI Act Ready team, 18 November 2026.