定制 heidkaemper/statamic-import-image-metadata 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

heidkaemper/statamic-import-image-metadata

最新稳定版本:1.2.0

Composer 安装命令:

composer require heidkaemper/statamic-import-image-metadata

包简介

Read EXIF and IPTC metadata when uploading an image to Statamic

README 文档

README

Banner

Statamic CMS - Metadata Import

Read EXIF and IPTC metadata when uploading an image to Statamic.

Installation

Require the addon as a Composer dependency.

composer require heidkaemper/statamic-import-image-metadata

Add a new field to your Asset Container Blueprint. A text field with the handle copyright would be a good start.

Import a JPG or TIFF image that contains metadata. 🎉

Configuration

The default configuration imports metadata for title, copyright and source if the corresponding fields exist in the blueprint.

To change this, you can publish the configuration.

php artisan vendor:publish --tag="import-image-metadata-config"

Have a look at the configuration file for details.

Metadata tags

Most common EXIF and IPTC tags should be available. Check these resources:

A specialty of iptcparse in PHP is that the IPTC tags are addressed via the code and are therefore not very human readable. For example, 2#116 would be the copyright field.

To make the configuration a little easier, this plugin maps the most important IPTC tags to more readable titles. However, the IPTC codes work too.

统计信息

  • 总下载量: 6.75k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-12-18