Image
Image

Image Credit Companion

وضاحت

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

  • 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”]

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: “post” (default) or “site”
  • post_id: Specific post ID (for post scope)
  • list: “ul” (default), “ol”, or “inline”
  • show_missing: “true” or “false” (default: false)

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.

تصوير

  • Image
    Gutenberg sidebar panel for managing image metadata
  • Image
    Admin interface showing site-wide image sources overview
  • Image
    Settings page for configuring defaults and output options
  • Image
    Frontend display of image sources with proper attribution
  • Image
    Bulk editing interface for managing multiple images
  • Image

انسٽاليشن

  1. Upload the plugin files to /wp-content/plugins/image-credit-companion/
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Go to Settings > Image Credits to configure default values
  4. Start adding image metadata through the Gutenberg editor sidebar or Media > Image Sources

FAQ

Does this work with the Classic Editor?

Yes! ICC detects images in both Gutenberg blocks and Classic Editor HTML content.

Can I customize the output format?

Absolutely. You can customize templates in your theme, or use the built-in shortcode attributes to control list style, scope, and other options.

Does it work with page builders?

ICC works with any content that uses WordPress’s standard image handling. It may not detect images added through custom page builders that don’t use WordPress’s attachment system.

Can I bulk edit image metadata?

Yes! The admin interface includes bulk editing capabilities for author and license information.

Is it performance optimized?

Yes. ICC uses efficient database queries, caching, and indexed tables to ensure minimal impact on site performance.

Does it support multisite?

Yes, ICC is fully compatible with WordPress multisite installations.

جائزا

ھن پلگ ان لاءِ ڪي به رايا ناھن.

تعاون ڪندڙ & ڊولپرز

“Image Credit Companion” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

ترجمو ڪريو “Image Credit Companion” توهان جي ٻولي ۾.

ڊولپمينٽ ۾ دلچسپي؟

ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.

لاگ تبدیل ڪريو

1.0.0

  • Initial release
  • Automatic image detection in posts and pages
  • Gutenberg sidebar panel for metadata management
  • Admin interface with filtering and bulk editing
  • Shortcode and dynamic block support
  • Template system with theme override capability
  • REST API for custom integrations
  • Comprehensive settings and configuration options
  • Full internationalization support
  • Performance optimizations and caching