跳到内容

Image Credit Companion

v1.6.2

Desk9 Design · 2025年11月4日 上架

Track and display image attribution. Add author, source, and license info to images with automatic detection and flexible output options.

正在使用
20+
评分
暂无
累计下载
1,288
最近更新
2026年11月10日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

贡献者

截图

Gutenberg sidebar panel for managing image metadata
Gutenberg sidebar panel for managing image metadata
Admin interface showing site-wide image sources overview
Admin interface showing site-wide image sources overview
Settings page for configuring defaults and output options
Settings page for configuring defaults and output options
Frontend display of image sources with proper attribution
Frontend display of image sources with proper attribution
Bulk editing interface for managing multiple images
Bulk editing interface for managing multiple images
Site-wide image sources table on the front end with the "Used in" column
Site-wide image sources table on the front end with the "Used in" column
The Modern table design (Settings > Output > Table Design) with rounded frame, license pills and "Used in" links
The Modern table design (Settings > Output > Table Design) with rounded frame, license pills and "Used in" links

Image Credit Companion (ICC) is a comprehensive WordPress plugin designed to help content creators and editors properly track, manage, and display image attribution information. Whether you’re running a news site, blog, or any content-driven website, ICC ensures you maintain proper image credits and comply with licensing requirements.

Key Features

  • Automatic Image Detection: Automatically scans and tracks images used in posts, supporting both Gutenberg blocks and Classic Editor content
  • Editor-Friendly Interface: Gutenberg sidebar panel for easy metadata management during content creation
  • Flexible Output Options: Display image sources via shortcodes, dynamic blocks, or automatic footer injection
  • Comprehensive Admin Interface: Site-wide overview with filtering, bulk editing, and usage statistics
  • Template System: Customizable output templates with theme override support
  • Performance Optimized: Efficient database design with caching and indexed queries
  • Security First: Proper sanitization, validation, and capability-based access control

How It Works

  1. Detection: When you save a post, ICC automatically scans the content for images in various formats:

    • Gutenberg blocks (Image, Gallery, Cover, Media & Text)
    • Classic Editor HTML content
    • Inline images in paragraph blocks
  2. Storage: Image usage is tracked in a custom database table, while metadata (author, source, license) is stored as attachment post meta

  3. Management: Editors can add metadata through:

    • Gutenberg sidebar panel (per-post view)
    • Media modal (global attachment editing)
    • Admin bulk editing interface
  4. Display: Image sources can be shown using:

    • Shortcodes: [imagcrco_image_sources] or [imagcrco_post_image_sources]
    • Dynamic block: “Image Sources” block
    • Automatic footer injection (configurable)

Supported Image Sources

  • Core Image blocks
  • Gallery blocks
  • Cover blocks
  • Media & Text blocks
  • Classic Editor HTML images
  • Inline images in paragraph blocks

Output Formats

  • Table: Thumbnail, title, author, license, source and “used in” per image, in the Classic or the Modern design; cards on phones
  • Unordered List: Clean bullet-point format
  • Ordered List: Numbered list format
  • Inline: Comma-separated inline format

Template Customization

ICC supports theme overrides for complete customization. Create templates in your theme:

  • yourtheme/image-credit-companion/list-ul.php
  • yourtheme/image-credit-companion/list-ol.php
  • yourtheme/image-credit-companion/list-inline.php

Usage Examples

Basic Shortcode Usage

Display image sources for the current post:
[imagcrco_image_sources]

Display all image sources site-wide:
[imagcrco_image_sources scope=”site”]

Display with specific formatting:
[imagcrco_image_sources list=”ol” show_missing=”true”]

Display the credit line of the current post’s featured image (e.g. inside an Elementor single post template, below the featured image widget):
[imagcrco_image_credit]

Display the credit line of a specific image:
[imagcrco_image_credit attachment_id=”123″]

Note: For backward compatibility, the legacy shortcodes [image_sources] and [post_image_sources] are still supported but the prefixed versions above are recommended.

Advanced Shortcode Attributes

  • scope: “site” (default) or “post” ([imagcrco_post_image_sources] is a shortcut for the current post)
  • post_id: Specific post ID (for post scope)
  • list: “table”, “ul”, “ol”, or “inline” (default: the Default Output Style setting)
  • show_missing: “true” or “false” (default: true; false hides images whose required credit fields are empty)
  • per_page: Items per page for site-wide pagination (default: 20)
  • image_size: Image size the table thumbnails load, e.g. “thumbnail”, “medium”, “large” or “full” (default: the Table Image Size setting)
  • image_width: Display width of the table thumbnails in pixels, 30 to 600 (default: the Table Image Width setting)

Dynamic Block Usage

  1. Add the “Image Sources” block to your post or page
  2. Configure the block settings in the sidebar
  3. Choose scope, list style, and other options
  4. The block will automatically display the appropriate image sources

Support

For support, feature requests, or bug reports, please visit the plugin support forum.

Privacy Policy

This plugin does not collect, store, or transmit any personal data. All image metadata is stored locally on your WordPress installation and is not shared with external services.

Credits

Developed with ❤️ for the WordPress community. Special thanks to all contributors and testers who helped make this plugin possible.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums