Attachment Cruncher

A Swiss Army Knife for transfering media attachment properties to post properties.

Author:Peter Hudec (profile at wordpress.org)
WordPress version required:2.7
WordPress version tested:3.5.1
Plugin version:0.3
Added to WordPress repository:30-05-2013
Last updated:31-05-2013
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:1
Plugin URI:http://peterhudec.com/programming/2013/05/29/...
Total downloads:637
Active installs:10+
plugin download
Click to start download

This plugin was created as a response to pupular demand on the Image Metadata Cruncher support forum, where people were asking for a solution to convert image metadata keywords created with Adobe Ligtroom, Photo Mechanic, Fotostation or whatever tool to post tags or categories.

Attachment Cruncher can transfer these attachment properties:

  • title
  • caption
  • description
  • alt
  • meta fields

To these post properties:

  • title
  • excerpt
  • content
  • meta fields
  • categories, tags and any other taxonomy

You can choose whether it should take into account:

  • Media attached to the post.
  • Media inserted to the post content.

You can choose when the transfer should happen:

  • When the post is being saved.
  • When an attachment attached to the post is being added or saved.
  • When an attachment is being attached to a post.

You can use the plugin in conjunction with other plugins. If you for example want to convert IPTC keywords of an image to tags of the post to which the image is attached, use first Image Metadata Cruncher to extract the keywords from the image to a custom attachment meta field (or any other attachment property) and then use Attachment Cruncher to convert the keywords stored in the custom meta to tags or categories of the post to which the image is attached.

You can also call the plugin public methods from your theme's code:

$attachment_cruncher->crunch( $post_ID );