Ready to get started?Download WordPress

Plugin Directory

Image Metadata Cruncher

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

Is it possible to extract metadata from already uploaded images?

You can use the plugin's methods like this:

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: Which will extract metadata from the attachment image file and update the attachment post according to the optional template array. Templates from plugin settings will be used for missing indexes.

$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: 2013-3-13
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