Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t 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.

Image Metadata Cruncher

A versatile Swiss Army Knife for extraction and processing of IPTC, EXIF and other image metadata.

A must have tool for photographers who edit their images in Lightroom or Photomechanic and don't want to waste their precious time by writing all the keywords and categories once again by hand.

WordPress by default extracts the EXIF ImageDescription of an uploaded image to the Description field and the IPTC Headline to the Title field of the Edit Media form.

Image Metadata Cruncher gives you ultimate controll over this behaviour. You decide what metadata gets where and in what form.

Moreover, the plugin's simple but powerfull templating system allows you to convert the extracted metadata into complex strings like:

Image was taken with Canon 7D, exposure was 1/125s and aperture was f/2.8.

You can even extract metadata to unlimited custom post meta that will be saved with the image to the database.

The plugin also has some usefull public methods which you can use in your code:

This will return the complete metadata of the image in a stuctured array same as {ALL:PHP}.

$metadata = $image_metadata_cruncher->get_meta_by_path( '/path/to/your/image.jpg' );

The same but by attachment post ID.

$metadata = $image_metadata_cruncher->get_meta_by_id( $attachment_ID );

You can crunch an already uploaded attachment with the crunch() method. The template and its indexes are optional. If missing, templates from plugin's settings will be used.

$template = array(
    'title' => '{IPTC:Title}',
    'caption' => '{IPTC:Caption}',
    'description' => '{IPTC:Headline}',
    'alt' => '{IPTC:Caption}',
    'custom_meta' => array(
        'camera-make' => '{EXIF:Make}',
        'camera-model' => '{EXIF:Model}',

$image_metadata_cruncher->crunch( $attachment_ID, $template )

Requires: 2.7 or higher
Compatible up to: 3.5.2
Last Updated: 4 years ago
Active Installs: 500+


4.3 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

0,1,0 0,1,0