0
votes
0answers
36 views

media uploader filter library so see only images without parent post

I am using this code to enable users to upload images from front end. I would need to filter the library tab to only how images that do not have post_parent set. Any way to do that? Code below: ...
1
vote
0answers
67 views

Add tinymce buttons to caption textarea in media uploader

I want to add some basic tinymce buttons ( Bold, italic, underline ) to caption textarea in media uploader in WordPress. (Shown in attached image) I dig a little bit into wordpress core in media.php ...
0
votes
0answers
37 views

Wordpress media uploader button is not working

I'm developing my own plugin. for that i need to upload logo images. since i'm a newbie in wordpress i searched so many tutorials. the code i used is pasted below. the problem is when i clicks on the ...
0
votes
1answer
41 views

Switch between tabs on “Insert Media” dialog

I'm writing a file upload plugin and want to emulate original Wordpress behavior: user uploads file on "Upload Files" tab after upload is complete, "Media Library" tab is activated with just ...
0
votes
0answers
278 views

Customizing the 3.5 “Add Media” popup (Backbone.js)

Here's yet another question in regard to the new(ish) 3.5 "Add Media" popup and how to customize it! What I'm trying to do I'm attempting to do four main things: 1) Create a custom tab titled ...
2
votes
1answer
84 views

3.5 media.editor: what is the event listener for choosing an image?

What is the event listener for selecting an image in the media.editor javascript. I am attempting to add a multiple image selector to a custom plugin, and I need to show the user what images they have ...
5
votes
1answer
2k views

Display attachments by ID in a wp.media frame

I'm trying to use the new wp.media uploader frame for an app I'm building. I've read up a lot on other questions, blog posts, etc etc. The code I pasted below is working already quite fine and even ...
2
votes
1answer
223 views

WP3.5 Media Uploader - how to make it accept multiple images?

I'm wondering how to make WP3.5 media uploader return 2 or more items in attachement? It always runs once even if 2 items are selected. The code: $('.button').on('click', function(){ var ...
0
votes
1answer
2k views

MediaElement.js works on one site but not the other?

I love the MediaElement.js plugin but I seem a little stumped. I have installed it on two WordPress sites: http://blog.mattforget.com/?p=94 and http://oedipus1.com/home/?p=3822 The sites are hosted ...
1
vote
1answer
541 views

window.send_to_editor throws unterminated string literal error when adding image with multi line description

I am using media-upload.php?type=image&tab=library script to add an image to a post with a description that contains html. This php script uses the javascript function window.send_to_editor to ...