Image Meta

描述

When you upload an image, Image Meta fills in attachment fields based on your settings. You can set each of the following from the file name, IPTC/XMP caption, or leave it blank:

  • Title
  • Caption
  • Description
  • Alt text (from title, caption, description, or blank)

Modern cameras and editors often store captions in XMP (dc:title / dc:description) rather than classic IPTC. This plugin reads both.

Configure the plugin under Settings Image Meta.

屏幕截图

安装

  1. Upload the image-meta folder to /wp-content/plugins/, or install through the Plugins screen.
  2. Activate the plugin through the Plugins screen.
  3. Go to Settings Image Meta and choose how each field should be filled.

常见问题

Does this change existing images?

No. It applies when new images are uploaded (or when attachment metadata is regenerated).

Why wasn’t my caption imported?

WordPress core only reads classic IPTC (APP13) and some EXIF fields. Many apps write XMP instead. Image Meta reads XMP title/description as well.

评价

此插件暂无评价。

贡献者及开发者

「Image Meta」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Image Meta」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

  • Read XMP metadata (dc:title, dc:description, etc.) when classic IPTC is missing
  • Modernize for current WordPress coding standards and PHP 7.4+
  • Use a class-based structure with the Settings API and option sanitization
  • Escape all admin output; replace extract() and numeric capabilities
  • Set alt text on upload instead of overriding attachment edit fields
  • Require WordPress 5.8+ and PHP 7.4+

0.2

  • Added default settings

0.1

  • Initial release