| 开发者 | onestepwebdesign |
|---|---|
| 更新时间 | 2026年9月29日 20:50 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
trainedAlgorithmicMedia as XMP metadata directly into the image files (JPEG and WebP), including all size variants. Google reads this field and can show an AI notice for your images in image search.ai-image and it gets the badge, no matter which page builder paints the background. The corner of the badge is chosen in the settings.Only when you flag an image as AI-generated: the plugin then writes a small XMP metadata block into the JPEG or WebP file (and its size variants). The image pixels are untouched. Files are replaced atomically and validated first, so a failed write can never corrupt an image. Unflagging removes the metadata again.
The visible badge works with the block editor (Gutenberg), Kadence Blocks, other block collections, the classic editor and Elementor (including Elementor Theme Builder templates). The machine-readable XMP labeling is independent of any builder and always works.
A background image has no image element the badge could attach to, so you mark its container by hand: give the container the CSS class ai-image.
ai-image under "Additional CSS class(es)".ai-image under "CSS Classes".Yes. Go to Settings → AI Image Marker → Background images and pick one of the four corners. The setting applies to all containers with the class ai-image and to images that fill their container, such as the cover block. Badges on regular images stay in the bottom right corner.
Background images are not detected automatically, they need the CSS class ai-image on their container (see above). Elementor images with fully custom dimensions (which lack the wp-image-… class) do not get the visible overlay. The machine-readable XMP labeling in the files still applies to them.
No. Captions are deliberately left untouched.
Your images keep working normally. The "AI-generated" flags are stored as regular attachment meta and remain in the database, so reinstalling restores the labels. The badge settings are stored as a single option and remain as well. XMP metadata already written stays in the files; unflag images before uninstalling if you want it removed.
Yes. Go to Settings → AI Image Marker to enter your own badge text (plus a short variant for small images) and pick the text and background colors with a color picker. Empty fields keep the defaults, so the badge stays translated into your site language. Developers can also use the aiim_badge_label and aiim_badge_short_label filters.
Yes. The meta key _aiim_ai_generated is registered for the REST API, so automated workflows can flag uploads directly.
ai-image, works with the block editor, Kadence, Elementor and any other page builder.aiim_label_backgrounds, aiim_bg_class, aiim_bg_position and aiim_fill_image_classes for developers.aiim_badge_label and aiim_badge_short_label for developers.