Improved taxonomy support for media and attachments in versions of WordPress prior to 3.5.
Upload the Attachment Taxonomy Support plugin to your WordPress plugins folder (/wp-content/plugins) or install it via your WordPress admin. Then activate it from the plugin admin page.