• Hi

    I am running a photoblog on https://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.

Viewing 1 replies (of 1 total)
  • Thread Starter ale3andros

    (@ale3andros)

    Hello again,

    after doing some research I found this:

    https://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?

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin that turns IPTC information to WordPress Tags’ is closed to new replies.