Title: Add EXIF and IPTC meta data to Attachment Post
Author: Mark Howells-Mead
Published: <strong>11.02.2021</strong>
Last modified: 02.12.2025

---

Поиск плагинов

![](https://ps.w.org/add-exif-and-iptc-meta-data-to-attachment/assets/banner-772x250.
png?rev=2472877)

![](https://ps.w.org/add-exif-and-iptc-meta-data-to-attachment/assets/icon.svg?rev
=2472877)

# Add EXIF and IPTC meta data to Attachment Post

 Автор: [Mark Howells-Mead](https://profiles.wordpress.org/markhowellsmead/)

[Скачать](https://downloads.wordpress.org/plugin/add-exif-and-iptc-meta-data-to-attachment.zip)

 * [Детали](https://ru.wordpress.org/plugins/add-exif-and-iptc-meta-data-to-attachment/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/add-exif-and-iptc-meta-data-to-attachment/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/add-exif-and-iptc-meta-data-to-attachment/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/add-exif-and-iptc-meta-data-to-attachment/#developers)

 [Поддержка](https://wordpress.org/support/plugin/add-exif-and-iptc-meta-data-to-attachment/)

## Описание

WordPress extracts image meta data from a file when it is uploaded and adds it to
the newly created Attachment Post in the database. This Plugin extracts and saves
a much wider range of EXIF and IPTC information than WordPress Core usually stores.

This Plugin currently supports JPEG and WEBP files.

This plugin does not output any data on the website or in the WordPress Admin area.
If this is required, a developer will need to amend the Theme or Plugin which generates
the HTML for the website.

The Plugin does not add any information to Attachment Posts which have already been
created. (The Plugin does, however, update the stored meta data when a new image
is uploaded to an existing Attachment Post; for example when the [Enable Media Replace Plugin](https://wordpress.org/plugins/enable-media-replace/)
is used.)

The information is not visible in the Media editor, but is available to developers
when using the `wp_get_attachment_metadata` function. The data is stored in a subset
of the array returned by this function, within the array key `shp_additional_metadata`.

e.g.

    ```
    <?php
    $attachment_metadata = wp_get_attachment_metadata($attachment_id);
    var_dump($attachment_metadata['shp_additional_metadata']);
    ```

### Hooks

The data array can be manipulated using `add_filter` once it has been retrieved 
from the file, using the following hooks.

#### All additional data

All IPTC data which is added by the plugin.

    ```
    <?php
    apply_filters('shp_additional_metadata/iptc', $exif['iptc'], $source_path);
    ```

#### IPTC data

All data which is added by the plugin.

    ```
    <?php
    apply_filters('shp_additional_metadata/all_exif', $exif, $source_path);
    ```

## Установка

 1. Install from the WordPress Plugin Directory or upload the `shp_additional_metadata`
    folder to the installation’s plugins directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

## Отзывы

Нет отзывов об этом плагине.

## Участники и разработчики

«Add EXIF and IPTC meta data to Attachment Post» — проект с открытым исходным кодом.
В развитие плагина внесли свой вклад следующие участники:

Участники

 *   [ Mark Howells-Mead ](https://profiles.wordpress.org/markhowellsmead/)

«Add EXIF and IPTC meta data to Attachment Post» переведён на 1 язык. Благодарим
[переводчиков](https://translate.wordpress.org/projects/wp-plugins/add-exif-and-iptc-meta-data-to-attachment/contributors)
за их работу.

[Перевести «Add EXIF and IPTC meta data to Attachment Post» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/add-exif-and-iptc-meta-data-to-attachment)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/add-exif-and-iptc-meta-data-to-attachment/),
проверьте [SVN репозиторий](https://plugins.svn.wordpress.org/add-exif-and-iptc-meta-data-to-attachment/),
или подпишитесь на [журнал разработки](https://plugins.trac.wordpress.org/log/add-exif-and-iptc-meta-data-to-attachment/)
по [RSS](https://plugins.trac.wordpress.org/log/add-exif-and-iptc-meta-data-to-attachment/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

### 1.1.0

 * Add WEBP support
 * Confirm functionality in WordPress 5.9.

### 1.0.1

 * Fix EXIF checks

### 1.0.0

 * Initial release.

## Мета

 *  Версия **1.1.0**
 *  Обновление: **11 месяцев назад**
 *  Активных установок: **20+**
 *  Версия WordPress ** 5.2 или выше **
 *  Совместим вплоть до: **6.9.0**
 *  Версия PHP ** 7.3 или выше **
 *  Языки
 * [English (US)](https://wordpress.org/plugins/add-exif-and-iptc-meta-data-to-attachment/)
   и [German](https://de.wordpress.org/plugins/add-exif-and-iptc-meta-data-to-attachment/).
 *  [Перевести на ваш язык](https://translate.wordpress.org/projects/wp-plugins/add-exif-and-iptc-meta-data-to-attachment)
 * Метки:
 * [attachment](https://ru.wordpress.org/plugins/tags/attachment/)[exif](https://ru.wordpress.org/plugins/tags/exif/)
   [image](https://ru.wordpress.org/plugins/tags/image/)[iptc](https://ru.wordpress.org/plugins/tags/iptc/)
   [upload](https://ru.wordpress.org/plugins/tags/upload/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/add-exif-and-iptc-meta-data-to-attachment/advanced/)

## Оценки

Пока что нет ни одного отзыва.

[Ваш отзыв](https://wordpress.org/support/plugin/add-exif-and-iptc-meta-data-to-attachment/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/add-exif-and-iptc-meta-data-to-attachment/reviews/)

## Участники

 *   [ Mark Howells-Mead ](https://profiles.wordpress.org/markhowellsmead/)

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/add-exif-and-iptc-meta-data-to-attachment/)