Tagged Questions
5
votes
1answer
100 views
WP 3.5 media manager - how to create a working gallery frame
i am writing a plugin and after hours and hours of searching for any documentation on WP 3.5 media manager i managed to create my custom media frame that is being called when a user clicks on a custom ...
5
votes
1answer
213 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
0answers
79 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 ...
12
votes
2answers
259 views
Trigger refresh for new media manager in 3.5
I'm trying to figure out how it's possible to 'refresh' the media library in the new media dialogue in 3.5. I'm adding images from an external image library to the WordPress library (via a tab/iFrame ...
2
votes
1answer
329 views
Close the media-upload thickbox right after upload is finished?
I'm working on a front-end uploader using WP's own media-uploading functions. All is well, except that I just want to simplify some UI things, like removing tabs and unnecessary information for my ...
2
votes
3answers
1k views
How to handle multiple instance of “send_to_editor” js function
Here is what I am doing:
I Added wordpress media upload with iframe popup when a button or link clicked. And with click of insert into post the image url placed on a textbox.
send_to_editor() ...
0
votes
3answers
410 views
JavaScript errors on Upload New Media after upgrading WordPress from 3.1.3 to 3.3.1 [closed]
I just updated WordPress on my site from 3.1.3 to 3.3.1. I completely deleted the wp-admin and wp-includes directories and uploaded new ones from a fresh zip I downloaded from WordPress.org.
Whenever ...