The tag has no usage guidance.

learn more… | top users | synonyms

6
votes
2answers
2k views

Media upload finished hook

I'm developing a plugin which uses wordpress's thickbox media library to handle media upload and selection. All is well but for the fact that I would like to automatically 'redirect' to the 'media ...
0
votes
1answer
40 views

*box for images displayed as a post's [gallery] [duplicate]

I can remember that (at some time) there was a box display (LightBox? GrayBox? ThickBox?) for displaying images when clicking on them. Example: ...
0
votes
2answers
924 views

Thickbox no longer working on front end, did code change in WP3.3 beta 3?

Prior to the 3.3 beta 3 I used thickbox on the front end with the below script. Since beta 3 the lightbox has stopped working. Is there an error in my code or did the function change? function ...
0
votes
1answer
5k views

Howto use WP built in Thickbox for images?

I've been searching for a better way to utilize the built in Thickbox function for images. I've been using my method for a few months, but I don't think it's the best way to do it. Here is the code ...
5
votes
2answers
3k views

Using the WordPress Media Library and returning the Attachment ID rather than URL?

I'm currently using some JS to pop open the WordPress Media Library in a thickbox container and return the URL of a selected image, then display it. window.send_to_editor = function(html) { ...
4
votes
2answers
2k views

Using media-upload.php to upload mp3 via custom fields

I'm trying to use the Thickbox file upload dialogue with a custom field to allow the user to upload an mp3. What I want to do is to grab the URL of the uploaded mp3 and save it as postmeta (saving the ...
3
votes
1answer
866 views

Manipulating Media uploader

Ok. Going to try and explain this as best as I can, so bare with me. Anyway, I'm trying to include the default media uploader as a part of my plugin. Currently, I've successfully managed to use the ...
0
votes
1answer
434 views

How to fix broken admin Thickbox?

I have an installation of wordpress with the core wordpress files in a sub-directory as described here: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory. I've also changed wp-content to ...
7
votes
2answers
6k views

Open a Thickbox with content trough AJAX

I added a custom button to the TinyMCE editor, and I want to open WP's Thickbox when I click on it. How can I make it so that the tb_show() function loads the content I want with ajax? // the ajax ...
0
votes
1answer
699 views

send information from the thickbox image uploader second tab

in this question i've found how to create a custom tab at the image uploader. this is the code: add_filter('media_upload_tabs', 'my_media_upload_tabs_filter'); function ...
2
votes
1answer
2k views

custom tabs in media uploader

I've managed to add a custom tab to the media uploader, but for some reason it doesn't come with the same layout - it doesn't load the media-uploader-header that contain all the other tabs: ...
0
votes
3answers
5k views

How to get the image-URL from Media-Upload in a post?

I generated a new MetaBox for all standard posts in WordPress 3.1. There I generate a input:text field with the ID _meta_fotos[pic], which should hould the image url generated by the standard ...
2
votes
2answers
4k views

Custom height/width for thickbox in WP Backend

I use thickbox in the WP backend for preview or other content. On own pages in the backend works my script very fine and a can use custom width and height for the thickbox. below my code: ...