Forums

Media Tags
FEATURE (with code) Auto add IPTC Keywords for Images (5 posts)

  1. harikaram
    Member
    Posted 7 months ago #

    I've just made a small mod to do auto-tagging for images with IPTC keywords. Any chance it can make it into the next version?

    It involves about 10 lines of code in mediatags_admin.php in function mediatags_show_fields_to_edit(...) ~line 478:

    http://pastebin.com/GtXi65PH

    Thanks for the consideration!

    Gratefully,
    Hari Karam Singh

    http://wordpress.org/extend/plugins/media-tags/

  2. harikaram
    Member
    Posted 7 months ago #

    Updated version which actually saves the tags rather than just puts them in the form :^

    Pastebin of the diff patch...
    http://pastebin.com/pqkRBZTh

  3. harikaram
    Member
    Posted 7 months ago #

    ...and which adds a setting to turn it on/off.

  4. pmenard
    Member
    Posted 7 months ago #

    Thanks for the mod. I've not had a chance to review. But plan to soon. Thanks.

  5. harikaram
    Member
    Posted 6 months ago #

    Hi. Here's another small patch. It fixes an error in the setting which turns it on/off and changes the default to "off" to make it more upgrade friendly.

    It also adds another setting to append a suffix to the slugs for auto-created tags to avoid naming conflicts (and annoying "-#" suffixes) to normal post tags.

    http://pastebin.com/8FjmtbFT

    I can send you the updated files if you'd like as well.

Reply

You must log in to post.

About this Plugin

About this Topic