My answer will be in the form of links.
The WPAlchemy meta box class supports this: http://www.farinspace.com/wpalchemy-metabox/
+ tutorial http://www.farinspace.com/wordpress-media-uploader-integration/
A tutorial on how to do it, mainly javascript: http://www.webmaster-source.com/2010/01/08/using-the-wordpress-uploader-in-your-plugin-or-theme/
Related Posts:
- Query posts by multiple custom fields
- How to prepend text to custom field value A, but only if custom field value B matches a certain string?
- Enforce all custom posts have specific custom fields
- Simple Data picker meta box
- How to properly set a value to meta fields of a custom post type in WP-API/node-wpapi REST API?
- sorting in wp query based on custom field value
- Use WP Title instead of custom field to call
- PHP Notice: Unidentified index
- Custom taxonomy template for custom fields loop [closed]
- Meta_Query refuses to return results
- Sort loop by custom field from different post type
- Custom Fields with add_post_meta()
- Run query on specific admin options page and send results to select field in another function
- get_previous_post_link and get_next_post_link of custom post type that share custom field value
- Meta_query by date for Events archive
- Multi Photo Upload with Caption on Front End for Custom Post Type
- Custom post type that lets users create a set of posts?
- Add more custom fields when creating a new custom post type
- Search facility with directories
- check_admin_referer not working in custom meta box for custom post type
- Create Inclusions and exclusions
- How do I display specific custom posts, and how do I edit a post’s singular page?
- WP_posts (Not meta) extra custom field column show and change it in a custom post type
- Populate custom post type/custom fields from an external database
- Fixed custom fields depending on posttype/category
- Automatically assign posts with custom field to taxonomy term
- How do I extract the contents of a CPT’s custom field for all posts?
- What’s the most efficient way to get two queries based on an if statement?
- Attach several custom posts to one meta field
- Custom Field to post_title
- Automatically convert standard posts with custom fields to custom post types
- Custom Fields through plugin in a Custom Post Type
- WordPress query in which condition uses custom field
- WordPress loop add heading before first of type
- How do i create user accounts from custom posts that have email addresses
- Importing URLs of Audio Enclosures
- How to make a shortcode for my WP_Query Loop? [duplicate]
- Multiple domains, Single database, 1 Parent/Master with all content, other domains/slaves with filtered content (based on “location” variable)
- WordPress is giving a warning but my code is working fine
- Error in WP Query. If variable is empty it is displaying previous post value
- WordPress loop, show only one post per custom field
- Query events post type after current date and timezone
- How to display all custom fields associated with a post type – IN THE ADMIN AREA?
- Avoid another meta box in my custom post type
- Show first posts with custom field not empty and order all by title
- Can’t pick up a field created with Advanced Custom Fields
- Need some suggestion/help with custom post types project
- Best way to use Category & Custom Fields?
- Pre_get_posts comparison with custom field doesn’t work
- Delete custom post type metadata without deleting the post in admin area
- Retrieving custom post type fields without a post
- Best way to insert a js script in the header with custom fields and CPT
- Creating connections programmatically with common fields on CPT’s
- Amend posts using wp_insert_post
- Custom Fields as Post Type Options
- How can I get the $key / $value pairs of custom fields that were added via 3rd party plugins or themes?
- How to delete comma from the end of results? [closed]
- How to use TOC with ACF?
- Publish post and create additional posts with same content
- How to enable the user to add value through the admin panel?
- Get month and day from a Date Picker custom field
- Two plugins sharing the same custom post type registration
- custom fields not showing before get_header
- Creating multiple CPT posts from one Gravity form
- How to add post reference field to a plugin?
- Generate slug and meta data if meta field is empty
- Cant move file after media_handle_upload
- pre_get_posts with multiple post types AND a meta_key
- Search form to find custom meta box generated data
- Calling specific page with wp query
- Custom Info Box at end of posts?
- How to get past and upcoming post by defining date in custom field?
- How to stop wp_query searching pages as well as the specified CPT
- Converting a checkbox filter for custom fields to a dropdown
- Post content is cleared when updating
- How do I add custom fields to posts without having to manually add everytime I post?
- Function not pulling image or text from custom post type
- Display Custom Post if custom field is marked
- Default custom column to off
- predefined custom field on registration page
- How to display custom post type ordered by a custom field date
- Selecting posts older than the current Unix epoch timestamp
- Unable to get the upcoming events for custom post
- Order Custom Posts by Several Fields
- one get_posts to return a number of custom posts for each meta value
- Show Custom Post Type taxonomy term that matches custom field
- display some fields in custom post backend
- Is it possible to make one of two custom fields in Custom Post Type UI Required but not the other?
- Query Distinct Taxonomies of Custom Post Type
- Custom Post Type as invoice or order template
- Setting a custom $query->query_vars[‘meta_key’] breaks the WordPress menu
- Custom field totals
- custom taxonomies are not showing up in get_taxonomies
- WP_Query and two custom fields returns no posts
- Custom post type Featured Image popup not working
- Forms with multiple element types using custom post types
- Displaying database table in backend of wordpress
- WP_Query get posts where post_name is empty
- Is it good practice to search for custom posts based on custom field values?
- Custom post type with custom fields enabled, is there a way to set a default group of fileds?