>
Download This Plugin | |
Download Elegant Themes | |
Name | Image Metadata Cruncher |
Version | 1.8 |
Author | Peter Hudec |
Rating | 86 |
Last updated | 2013-03-13 06:39:00 |
Downloads |
2912
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Image Metadata Cruncher plugin added 1 bytes of resources to the Home page and 188 bytes of resources to the sample Post page.
Image Metadata Cruncher plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Image Metadata Cruncher plugin ads no tables to your Wordpress blog database.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 )