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

  1. harikaram
    Posted 4 years 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:


    Thanks for the consideration!

    Hari Karam Singh


  2. harikaram
    Posted 4 years ago #

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

    Pastebin of the diff patch...

  3. harikaram
    Posted 4 years ago #

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

  4. Paul Menard
    Plugin Author

    Posted 4 years ago #

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

  5. harikaram
    Posted 3 years 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.


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

  6. Gromhelm
    Posted 3 years ago #

    Great addition! I was looking for this. But does it still work?

    I can't find the function mediatags_show_fields_to_edit(...), nor mediatags_admin.php.

    Could you provide folder/filename where to look for?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Media Tags
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic