Support » Plugin: Media Tags » [Plugin: Media Tags] FEATURE (with code) Auto add IPTC Keywords for Images
5 years, 5 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:
Thanks for the consideration!
Hari Karam Singh
Updated version which actually saves the tags rather than just puts them in the form :^
Pastebin of the diff patch…
…and which adds a setting to turn it on/off.
Thanks for the mod. I’ve not had a chance to review. But plan to soon. Thanks.
5 years, 4 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.
I can send you the updated files if you’d like as well.
4 years, 7 months 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?