Setting tags when user uploads photo.
-
I added the line
$strOutput .= "\n<input type=\"hidden\" name=\"tags\" value=\"".get_the_title()."\">";to the function display_image_upload_input…The purpose of this is that users will upload an image to the general album. The image is then viewed in galleries using the tag. The tag is supposed to attach automatically.
I did this so I did not have to build a gallery for every post that allows image uploads.
This seem to have worked at fist, but has since stopped. And idea what I can do to make this work?
Sorry if my sentence structure is bad, i’ve been working for nearly 12 hours at the computer now… long past break time.
https://wordpress.org/plugins/nextgen-public-image-uploader/
The topic ‘Setting tags when user uploads photo.’ is closed to new replies.