Category values available on media upload?
-
Apologies if this has been asked before. I’m trying to generate a title and various other fields in a custom template for an uploaded image. I’d like to use the values returned from [+terms:category+] or [+terms:attachment_category+] (it doesn’t matter which) but it seems as if these aren’t processed on media upload. I’m definitely ensuring the category / att. category is set before the upload takes place. I find I have to edit the image afterwards to map IPTC/EXIF metadata instead, which correctly evaluates those variables.
The reason for me doing this is I’d like the substitution to take place on upload in one operation as I’m using the images in a gallery plugin (Unite Gallery) and once they’re in Unite, the field values are beyond control of the WP media library.
Am I missing an obvious trick?
Thanks!
- The topic ‘Category values available on media upload?’ is closed to new replies.