Add tags to WordPress attachments.
<?php function ccd_attachment_tags() { register_taxonomy_for_object_type( 'post_tag', 'attachment' ); } add_action( 'init' , 'ccd_attachment_tags' ); ?>
WordPress Snippet