Forums

Plugin that turns IPTC information to WordPress Tags (2 posts)

  1. ale3andros
    Member
    Posted 1 year ago #

    Hi

    I am running a photoblog on http://www.bomon.me/bomonphoto

    I am looking for plugin or a way of translating the IPTC tags of the images uploaded into WordPress tags, the same way it happens on Photographer's Direct.

    Any help would be greatly appreciated.
    Thanks.

  2. ale3andros
    Member
    Posted 1 year ago #

    Hello again,

    after doing some research I found this:

    http://www.hireustoday.com/wordpress/other/wordpress-get-iptc-metadata-from-pictures/

    Now, I've made the changes in the image.php file under wp-admin/includes
    I am guessing the next step is to do what the guy says :

    The function wp_read_image_metadata can be invoked by eg:

    $iptc_data = wp_read_image_metadata( $file );
    echo ‘Keywords : ‘ . $iptc_data[keywords] . ‘’;
    echo ‘City : ‘ . $iptc_data[city] . ‘’;
    echo ‘State : ‘ . $iptc_data[province] . ‘’;
    echo ‘Country : ‘ . $iptc_data[country] . ‘’;

    So would this go in the functions.php file in the wordpress theme i'm using?
    And, then should I call this function in the single.php file of the theme?

    Does anyone want to help me do this right?

Topic Closed

This topic has been closed to new replies.

About this Topic