How to Add Additional Fields to the WordPress Media Uploader

Adding custom fields to WordPress media gallery upload
$form_fields[“rt-image-link”] = array( “label” => __(“Radio Box”), “input” => “html”, “html” => ‘ID . ‘][rt-custom-radio-test1]” name=”attachments[‘ . $post->ID . ‘][rt-custom-radio]” value = “test1” ‘. ( ( get_post_meta($post->ID, “_rt-custom-radio”, true) == ‘test1’ ) ? ‘checked=”checked”‘ : ” ) . ‘/> ID . ‘][rt-custom-radio-test1]”>Test1 ID . ‘][rt-custom-radio-test2]” name=”attachments[‘ . $post->ID . ‘][rt-custom-radio]” value = “test2” ‘. ( ( get_post_meta($post->ID, “_rt-custom-radio”, true) == ‘test2’ ) ? ‘checked=”checked”‘ : ” ) . ‘/> ID . ‘][rt-custom-radio-test2]”>Test2 ‘, “value” => get_post_meta($post->ID, “_rt-image-link”, true), “helps” => __(“This is Custom Check Box.”), );
Add a Copyright Field to the Media Uploader in WordPress
When you upload something into WordPress using the Media Uploader, you can include information such as a caption or a description. If you wanted to include something else, you would first have to create a custom field by hooking into the attachment_fields_to_edit filter. I decided to add a “Copyright” field so that I could credit each item I upload to the original copyright owner and displayed on the front end wherever I want.
Integration of the WordPress Media Uploader into Plugin Options Page
Sometimes I want to create a simple and intuitive graphic interface for my clients in order to give them an opportunity to upload an images on the options page of my plugin. I could make just a text input field where they can place the image URL, and sometimes it’s what I need in a certain situation, but more often it is a not professional to make so. I want to have a happy clients, I want to make a user-friendly interface of my plugins. In this article I will show you how to integrate a beautiful, simple and customizable WordPress Media Uploader into your plugin options page.
hi, how to add additional field to the register form? And how to remove register with facebook?