How to add WordPress Media Uploader in Plugin or Theme ?
In this article, I explained how to use WordPress Media Uploader with plugins and themes. It provides an easy way to upload images and other graphic files to pages and posts. You can easily implement such functions under themes and plugins follow the example - Simple Wordpress Custom Profile Picture.
Full explantion please visit : http://scripthere.com/how-to-add-wordpress-media-uploader-in-plugin-or-theme/