WordPress · Website Toolkit

The Media Library Operations Toolkit for WordPress

Replace, rename, and duplicate media files without breaking a single link. See where every image is used. Generate AI descriptions in bulk. Even regenerate images with AI — all reference-safe.

01

SEO

Keyword-relevant filenames via safe renaming, AI-generated alt text and metadata at scale, and unused-image cleanup for a leaner site

02

Accessibility

Missing alt text flagged in red across the library; AI vision models fill the gaps individually or in bulk

03

Site Integrity

Replace and rename operations rewrite every reference automatically — no broken images, no dead URLs, no manual hunting

04

Operational Velocity

Tasks that took hours — swapping assets, renaming files, writing metadata, auditing usage — become one-click operations

What it's about

WP PM Media Tools

The WordPress media library was never built for maintenance. Replacing a file means broken links. Renaming means hunting down every reference by hand. Nobody knows which images are actually in use, which posts were touched last, or which files are missing alt text.

PM Media Tools fixes the operations side of media management. Replace any file — by upload or with an AI-generated image — while every featured image, content URL, and gallery reference stays intact. Rename files with a live progress bar that updates references across your entire database. See exactly which posts use each image, spot unused files instantly, and let AI vision models write titles, alt text, captions, and descriptions for hundreds of images at once.

PM Media Tools is included free of charge with a premotion media managed WordPress hosting agency server — for unlimited WordPress installs.

Features

Thought through to the daily workflow.

Every building block is focused on a clear benefit and fits into existing processes.

01
Feature Section

Replace any media file while keeping the same attachment ID. Every reference — featured images, in-content URLs, galleries — keeps working. No re-inserting images into dozens of posts, no broken layouts, no 404s.

01

Replace Media — Swap Files Without Breaking Anything

Replace any media file while keeping the same attachment ID. Every reference — featured images, in-content URLs, galleries — keeps working. No re-inserting images into dozens of posts, no broken layouts, no 404s. The plugin rewrites URLs automatically across post content and postmeta, so page builder layouts and custom field references stay intact too. Thumbnails regenerate on the spot.

  • Same attachment ID before and after — all references survive the swap
  • Choose to keep the original filename or use the new one
  • Automatic URL replacement in post content and postmeta (page builders, ACF, WPBakery)
  • Automatic thumbnail regeneration after replacement
  • Option to update or keep the original upload date
  • Accessible from the media list view, grid view, and the attachment edit screen
02

AI Image Replacement — Regenerate Images In Place

Need a better version of an existing image? Generate a replacement with AI directly from the Replace Media page. Describe what you want, preview the result side by side with the current image, and accept, retry, or cancel. The prompt is prefilled from the image's alt text, description, or title, and the aspect ratio is auto-detected from the current image — so replacements fit the exact spot the old image occupied.

  • Multi-provider image generation: Google AI (Gemini), OpenRouter, OpenAI
  • Side-by-side preview comparing current and generated images
  • Three save modes: replace, replace with backup, or save as new attachment
  • Auto-detected aspect ratio with manual override across seven ratio presets
  • Optional reference mode that uses the current image as input for the generation
  • Format conversion (e.g. PNG to JPEG) to match the existing file extension
  • Server-side image validation before anything is written to disk
03

Rename Media — Clean Filenames With Live Progress

Rename any media file directly from the media library list view. A modal dialog with a multi-step progress bar walks through the entire operation: file rename and thumbnail regeneration, post content updates, postmeta updates, and finalization — each step reporting exactly what it changed. Turn "IMG_4382.jpg" into a descriptive, keyword-relevant filename without breaking a single reference on your site.

  • AJAX-powered modal with a four-step progress bar and real-time status
  • Each step reports results (e.g. "12 post content references updated")
  • File renamed on disk with automatic thumbnail regeneration
  • All URL references updated across post content and postmeta
  • Automatic collision handling — duplicate filenames are deduplicated safely
04

Bulk Description — AI Metadata for the Whole Library

A dedicated admin page lists every image in a paginated table — 100 per page — with thumbnails, current metadata, search, and an "empty alt text only" filter. Select images, choose which fields to generate, and let AI vision models analyze each image and write the results straight to your database. Empty fields are flagged in red so gaps are visible at a glance. A progress bar tracks the batch, with an abort button available at any time.

  • Generate Title, Alt Text, Caption, and Description — individually selectable per run
  • Vision AI analyzes the actual image content for accurate, descriptive metadata
  • Search by title or filename; filter for images with missing alt text
  • Sequential processing with in-place row updates and progress tracking
  • Configurable output language — eleven languages including English and German
  • Customizable prompt template with field and language placeholders
05

AI Content Generation on the Attachment Edit Screen

A "PM Media Tools" metabox on every attachment edit page generates metadata for a single image on demand. Tick the fields you want, optionally add context to guide the AI, and click Generate — the results populate the edit form fields directly, including the description editor, with a highlight animation showing what changed.

  • Field checkboxes for Title, Alt Text, Caption, and Description
  • Optional context textarea for extra guidance (product names, brand terms, setting)
  • Results fill the WordPress form fields immediately — review before saving
  • Quick links to the Replace/Regenerate Image page and Bulk Description page
06

Enhanced Media Library — Everything Visible, One Click Away

The media library list view gets a consolidated details column showing what actually matters: alt text, caption, description, file type, and author — with missing alt text highlighted in red. Below the metadata sits a compact row of action buttons so common tasks never require opening another screen.

  • Alt Text, Caption, and Description shown directly in the list view
  • Missing alt text flagged in red for instant visibility
  • Action buttons: Edit, View, Replace, Copy URL, Download, Duplicate, Delete
  • Copy URL uses the clipboard API with tooltip feedback
  • Duplicate creates a full copy of the file including metadata and alt text
  • Delete protected by a confirmation dialog
07

Used In Tracking — Know Where Every Image Lives

A "Used In" column in the media library shows every post and page where an image appears. Usage detection covers featured images, content (Gutenberg blocks, classic editor, shortcodes, page builders), and WooCommerce product galleries — including resized image variants. Unused images are highlighted in red, so cleaning up a bloated media library becomes a visual scan instead of guesswork.

  • Detects usage as Featured Image, in-content reference, and WooCommerce Product Gallery
  • Matches resized variants (e.g. -300x200 versions) of the same image
  • Unused images highlighted in red
  • Also available as a metabox on the attachment edit screen
08

Last Modified Column — Editorial Oversight at a Glance

A sortable "Last Modified" column on Posts, Pages, and all public custom post types shows when content was last touched and by whom. An "Updated" badge marks content that changed after initial publication.

  • Date, time, and relative time ("2 hours ago") in one column
  • Shows which editor made the last change
  • "Updated" badge for content modified after publish
  • Sortable, and applied automatically to custom post types
How it works

A clear path to the result.

  1. 01

    Step 1 — Install and Go

    The Last Modified column, Used In tracking, enhanced media library, Replace, Rename, and Duplicate features work immediately after activation — no configuration needed.

  2. 02

    Step 2 — Configure AI (Optional)

    To use the AI features, enter an API key for Google AI, OpenRouter, or OpenAI in the settings page. Choose your default model, output language, maximum image dimensions, and prompt templates.

  3. 03

    Step 3 — Maintain Your Library

    Replace outdated files, rename cryptic filenames, and duplicate assets — all reference-safe. Use the Used In column to find where images appear and which ones are unused.

  4. 04

    Step 4 — Generate Metadata at Scale

    Open Bulk Description, filter for images with empty alt text, select a batch, and generate titles, alt text, captions, and descriptions with AI vision analysis. Watch progress in real time; abort anytime.

  5. 05

    Step 5 — Regenerate Images When Needed

    From any image's Replace page, switch to the AI tab, refine the prefilled prompt, preview the generated result next to the original, and accept, retry, or save as new.

Who is it for?

Made for concrete requirements.

The solution is a particularly good fit for these teams, roles and business models.

Agencies and Site Maintainers

Handle client media requests without fear. Swap logos, product shots, and PDFs while every reference keeps working. The Last Modified column gives instant oversight of what changed, when, and by whom — across every site you manage.

SEO Professionals

Rename files to keyword-relevant filenames with automatic reference updates. Fill missing alt text at scale with AI. Find and remove unused images that bloat the library without contributing anything.

E-Commerce Stores

Track which images are used in WooCommerce product galleries. Replace seasonal product imagery in place. Bulk-generate alt text and descriptions so product images can rank in image search.

Accessibility-Focused Teams

Missing alt text is highlighted in red in the media library and filterable on the Bulk Description page. AI vision models write descriptive alt text image by image or in batches — reviewed in your normal WordPress workflow.

Content Publishers

Years of uploads, thousands of files, no idea what's still needed? Used In tracking, unused-image highlighting, and one-click Duplicate, Download, and Delete actions turn media cleanup from an all-day job into a routine task.

Multilingual Sites

Generate AI metadata in eleven output languages, including German, French, Spanish, and Italian — matched to the language of your site content.

Tech & scope

The key details at a glance.

Version
2.1.1
WordPress Minimum
6.0 (tested up to 6.7)
PHP Minimum
8.0
License
GPL-2.0+
Data Storage
Local WordPress database
AI Providers
Google AI (Gemini), OpenRouter, OpenAI
AI Output Languages
11 (including English and German)
External PHP Dependencies
None
WooCommerce
Product gallery usage detection supported
Updates
Optional one-click updates via license key; features never depend on a license
Author
premotion media
Hosting
Included free with premotion media managed WordPress hosting agency server
Installs
Unlimited per agency server
FAQ

Frequently asked questions.

What happens to existing links when I replace or rename a file?

Nothing breaks. Replace keeps the same attachment ID, and both Replace and Rename automatically rewrite URL references across post content and postmeta — covering featured images, in-content URLs, galleries, and page builder data. Thumbnails are regenerated automatically.

Do I need an AI API key to use the plugin?

No. The core toolkit — Last Modified column, Used In tracking, Replace by upload, Rename, Duplicate, and the enhanced media library — works without any AI configuration. An API key from Google AI, OpenRouter, or OpenAI is only needed for AI image generation and AI metadata generation.

How is this different from PM AI Media Manager?

PM AI Media Manager focuses on creating: bulk metadata generation with review workflows and text-to-image generation from the post editor. PM Media Tools focuses on operating: reference-safe replace, rename, and duplicate, image usage tracking, last-modified auditing, and an enhanced media library — with AI built into the replacement and description workflows. They complement each other; many sites run both.

Which AI models can generate replacement images?

Google AI (Gemini 2.5 Flash Image, Gemini Nano Banana Pro), OpenRouter (MiniMax M2.5, GPT-5 Image, GPT-5 Image Mini, Gemini 2.5 Flash), and OpenAI (GPT-5.2, GPT-5 Nano). Vision analysis for metadata uses Gemini 2.5 Flash/Pro, GPT-4o, or GPT-4o Mini.

Can I keep the original image when replacing it with an AI version?

Yes. Three save modes are available: replace directly, replace with an automatic backup of the original, or save the generated image as a completely new attachment.

How does the plugin know where my images are used?

It scans featured image assignments, post content (Gutenberg blocks, classic editor, shortcodes, page builder markup), and WooCommerce product galleries — and it matches resized variants of each image, not just the original file. Images with no detected usage are highlighted in red.

Can the AI write descriptions in German?

Yes. The output language for AI-generated metadata is configurable — eleven languages are available, including German, French, Spanish, Italian, Portuguese, Dutch, Polish, Japanese, Korean, and Chinese. The prompt template itself is also fully customizable.

Is this plugin included with premotion media hosting?

Yes. PM Media Tools is included free of charge with every premotion media managed WordPress hosting agency server. Install it on every WordPress site you manage — no per-site licensing and no add-on fees.

Ready?

Your Media Library, Finally Under Control

Replace files without breaking links. Rename without fear. See where every image lives and who changed what, when. Let AI write the alt text and regenerate the images. PM Media Tools turns WordPress media maintenance from a liability into a one-click routine — on every site you manage. Included free with premotion media managed WordPress hosting.

Discuss your project