Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

Need_Help on "WP3.5 Media Uploader - Upload without post ID?"

$
0
0

In the past, the code below could be used to upload an image via post edit screen without having the post ID attached to it (by not defining the post ID) :

jQuery('.upload_slider_button').click(function() {
    tb_show('', 'media-upload.php?post_id=&type=image&TB_iframe=true&referer=matrix-settings');
    return false;
});

However, I wonder how can I achieve the same result now using the new Media Uploader in WordPress such that the uploaded image will not be ‘attached’ to the post ID? I’ve spent the whole day searching for an answer but couldn’t get anything useful. I have seen this post and it still adds the post ID when an image is uploaded via the post edit page.

Thanks for helping.


Viewing all articles
Browse latest Browse all 8245

Trending Articles