Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I need to find plugin or create listing of all uploaded images for some post in custom metabox. And i can click to thumbnail for add image to editor in custom format.

I downloaded a lot of photos to default upload box, and each time i will do a lot of clicks for insert new image to editor. It is very uncomfortable.

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

Faster Image Insert?

Moves built-in Media Manager down in a meta-box, right next to main editing panel, so you have full control of the manager: opens it, makes it collapse or hidden from the interface completely.

Best of all, is now you can insert image(s) much faster, and precisely where you want them to be.

share|improve this answer
    
Thank you for information –  Bohdan Hdal Jan 8 '12 at 18:04
add comment

New WP (3.3+) uses plupload, which we now fully integrated into RW Meta Box.

Examples

enter image description here
The basic meta box before any file was via drag & drop. enter image description here
Plupload during upload - Status "loading/error" have background images for a clean UI. enter image description here
The "Uploaded Images" title appears only on demand.

Customize


The "TITLE string" headline (hndle bar) can be set during setup of the meta box.


The "drag & drop file here" string is customizable with the following filter:

function alter_drop_string( $string )
{
    return __( 'drag & drop whatever here', 'YOUR TEXTDOMAIN' );
}
add_filter( 'rwmb_upload_drop_string', 'alter_drop_string' );

This filter changes the string of all Plupload meta boxes, so you should care about checking $GLOBALS['hook_suffix'] and output a different string for your post/page/CPT.

share|improve this answer
1  
Definitely a vote up! –  Rilwis Jan 9 '12 at 3:12
    
@kaiser, the RW Meta Box is great, but what if I only want add the media upload field to my custom post type? I already create my own custom meta with my own,now I only lacks of image field. Any guidelines of tutorial? –  dev-jim May 30 '12 at 12:08
    
Why not use the RW Meta Box lib? Easy to setup, constant development, etc. –  kaiser May 30 '12 at 12:13
    
@kaiser Is it possible to add an "insert into post" button, much like the regular uploader works? –  INT Jun 24 '12 at 22:48
    
@INT Sorry, but I don't know. You could simply use submit_button(); and use your own custom javascript that fires on click. Then insert whatever shortcode you built to display that image(s). –  kaiser Jun 25 '12 at 10:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.