NHR Smart Media Manager

外掛說明

NHR Smart Media Manager adds a powerful Smart Library page to your WordPress admin, giving you a clean, organized, and intelligent media management experience. It works alongside your existing WordPress media library and adds smart features baked in.

Key Features:

  • Virtual Folder System — Create nested folders to organize your media. Folders are stored as a custom taxonomy and do not move files on disk.
  • Modern Grid & List View — Beautiful grid or sortable list view with thumbnail size control.
  • File Details Panel — Slide-in panel with editable title, alt text, caption, and description. See exactly where each file is used.
  • Bulk Operations — Select multiple files and move or delete them at once.
  • Smart Search & Filters — Search by filename, alt text, caption. Filter by file type. Shareable URL state.
  • AI Alt Text & Caption Generation — Generate screen-reader-friendly alt text and captions for images with one click, using the WordPress AI connector you configure at Settings Connectors.
  • Upload Enhancements — Assign files to folders on upload, drag-and-drop from desktop, per-file progress bars.
  • Keyboard Shortcuts — Full keyboard navigation (Escape, Delete, Ctrl+A, Shift+click range select, Arrow keys).

External Services

This plugin does not connect to any external service directly.

AI features (alt text and caption generation) are optional. When you trigger them, this plugin reads the image file from your server and passes it to the WordPress core AI Client (wp_ai_client_prompt()). The AI Client then transmits the image data to whichever external AI provider you have installed and configured at Settings Connectors in your WordPress admin (for example, the official Anthropic or OpenAI connector plugins).

What data is sent: the image file and a short text prompt describing the task (e.g. “write alt text for this image”).

When data is sent: only when you explicitly click “Generate Alt Text” or “Generate Caption” on an individual file. No data is sent automatically.

Where data goes: to the external AI service you configure. This plugin has no control over, and takes no responsibility for, that service’s data handling. Please refer to the connector plugin’s documentation for its privacy policy and terms of service.

No image data is stored by NHR Smart Media Manager beyond what is already in your WordPress media library.

Source Code

Full source code, including JavaScript source files and build tools, is available at:
https://github.com/nhrrob/nhrrob-smart-media-manager

To rebuild the JavaScript assets: npm install && npm run build

安裝方式

  1. Upload the nhrrob-smart-media-manager folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Media Smart Library to access the new media manager.
  4. Optionally, go to Settings NHR Smart Media to configure display defaults and view AI connector status.

常見問題集

Does this add a new page or change the existing media library?

The plugin adds a new “Smart Library” submenu item under the Media menu. Your existing WordPress media library and the native media modal remain completely unchanged.

Do I need an AI provider to use this plugin?

No. All features (folders, grid view, bulk operations, search) work without any AI provider. AI features (alt text and caption generation) require a compatible AI connector plugin installed and configured at Settings Connectors.

Where are my folders stored?

Folders are stored as WordPress taxonomy terms (custom taxonomy nhrsmm_media_folder). Files are not physically moved on disk — it is a virtual organization layer.

Does this work with popular plugins?

Yes. The plugin only modifies the admin media library page. The native WordPress media modal used by page builders and the block editor is left untouched.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈NHR Smart Media Manager〉的開發相關工作。

參與者

將〈NHR Smart Media Manager〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.0.3

  • Security: All plugin routes now require Editor+ (manage_categories). Folders are shared taxonomy terms — restricting to upload_files allowed any uploader to modify the global folder structure.

1.0.2

  • Security: Added per-attachment permission checks on AI alt text, AI caption, and media usage REST API endpoints.

1.0.1

  • Minor bug fixes and improvements.

1.0.0

  • Initial release