Questions tagged [plupload]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

Get uploaded attachment width & height and attachment ID after upload them

I will explain my requirement here. Im trying to redirect window to wordpress image editor once image is uploaded via wordpress image upload window. also this redirection should only happen if image ...
user avatar
0 votes
0 answers
18 views

How to get file object from file_attachment?

I followed this code and so far I could get the file attachment object. But I can't seem to get the file. I need the file object to upload to IPFS via Javascript. (function($){ $.extend( wp....
user avatar
0 votes
0 answers
21 views

How to locate the js code and php code for certain function?

For example, I want to debug the code for uploading an image when composing a post. I click the "Add Media" button, right-click on the "Media Library" tab, click the "Inspect&...
user avatar
  • 103
0 votes
1 answer
156 views

Make inline uploader (plupload) on options page upload to a specific folder

I’ve set up an options page for my CPT that contains the drag'n'drop upload area (just like Media → Add New). Basicly, I’ve copied all the relevant stuff from wp-admin/media-new.php and it works like ...
user avatar
1 vote
1 answer
640 views

async_upload.php 500 Error when Uploading larger files with slow internet connection and latency

my page runs on a local corporate network on a Windows 2016 server running IIS 10. PHP 7.1 WordPress 5.3 The page is used as a video platform. Videos up to 2GB can be uploaded. From our locations on ...
user avatar
0 votes
1 answer
63 views

How do I increase the upload size only when editing special pages?

I have the following code to increase the upload size only when editing certain, special pages: function my_edit_page_form( $post ) { if( my_is_special_page( $post ) ) { add_filter( '...
user avatar
1 vote
0 answers
159 views

Can I use plupload multiple queues in wordpress?

I have a frontend upload form where users can upload images for their posts and I am using Plupload for it. Since the next upload only starts once the previous upload is finised and the preview ...
user avatar
0 votes
1 answer
123 views

Searching JQuery arrays of taxonomy terms for word matches in frontend images upload

I have a need to search through 4 different Taxonomy terms for matches of image tags. Using Jquery. Having hundereds of images to upload and tag and the theme I'm usings back end has a problem(...
user avatar
  • 579
0 votes
1 answer
2k views

Use plupload to upload images and save them to custom folder and database table

I'm building a plugin and I need to upload images and save them to a separate folder from the default wp media folder and to a custom database table. I managed to do both, but for every uploaded ...
user avatar
  • 45
1 vote
1 answer
510 views

How to set post_id to 0 when you upload image via Add media button. (async-upload.php)

How to set post_id to 0 when you upload image via Add media button which will make a requtest to async-upload.php Instead of actual post_id? Thank you.
user avatar
  • 407
1 vote
1 answer
896 views

Get File Object from wp.Uploader

I would like to hook into the wp.Uploader and get the FileList object containing the file to be uploaded. So far I've been able to extend the uploader using the code below, but I can't quite seem to ...
user avatar
2 votes
0 answers
168 views

wp.media add context

I have wp.media frame on my plugin to upload doc, docx file. I am filtering the uploaded file. If uploaded other than supported file, it will display this error I am filtering it at ...
user avatar
6 votes
3 answers
2k views

Add inline uploader to plugin option page

I would like to implement an inline file uploader to my plugin's option page as introduced in new media grid view of the WP media library: I imagine having this drag & drop uploader in the page ...
user avatar
  • 121
0 votes
1 answer
2k views

Add/change multipart_params parameter when uploading post image

I'm working on plugin that optionally manipulates uploaded content (images). I managed to add some additional fields on "Insert media" popup under "Drop files anywhere to upload" text, but I need to ...
user avatar
1 vote
2 answers
2k views

Plupload resize for worpdress

So, for the Plupload, I know there is a documentation to how to resize the image on the client side before uploading : http://www.plupload.com/docs/Image-Resizing-on-Client-Side However, I am not ...
user avatar
  • 345
2 votes
2 answers
673 views

post_id missing from the wp-admin file upload request

I'm trying to upload an attachment using the "Add Media" button placed right above the editor. The request goes to the wp-admin/async-upload.php file. I can put a var_dump($_REQUEST); call there. ...
user avatar
  • 342
0 votes
1 answer
697 views

Does WordPress support Plupload chunking when uploading asynchronously?

I'm using the Plupload library to upload audio files to my website from the front-end. Here is an example of my Plupload config: var uploader = new plupload.Uploader({ browse_button : 'browse', ...
user avatar
  • 2,997
0 votes
0 answers
411 views

Is custom behaviour possible when asynchronously uploading?

I'm using Plupload and making use of wp-admin/async-upload.php to allow my website's users to upload images from the front-end asynchronously. The default behaviour of that particular script is for ...
user avatar
  • 2,997
0 votes
2 answers
6k views

"load-scripts.php" hangs and times out when plupload is requested

I have a perplexing problem with Wordpress. When pages under /admin/ loads "load-scripts.php" with "plupload" as one of the arguments, it hangs for ever. The "Add New Post" page is one such page. For ...
user avatar
  • 121
0 votes
1 answer
799 views

How to make Plupload zones that will survive changes in core?

I had recently implemented custom Plupload form in a plugin (located in admin area and working with SVG files). Plupload has half a ton of settings, provided for WP's own upload zone by ...
user avatar
  • 97.7k
1 vote
2 answers
1k views

How to disable plupload completely from latest wordpress 3.6 and make browser upload default

How can I disable plupload completely from latest wordpress 3.6 and make browser upload default? Thanks in advance.
user avatar
  • 305
0 votes
1 answer
2k views

How to delete file uploaded by Plupload

I follow the steps from here to integrate the plupload in metabox. Everything is working fine. But I did find one disadvantage of this guide. When I click the 'Remove' link from the uploaded images, ...
user avatar
  • 1,838
0 votes
1 answer
1k views

Plupload in metabox - AJAX action not working in Class

I'm trying to put the WP Pluploader into a meta box on my posts page - as per Plupload Intergration in a meta-box? and http://www.krishnakantsharma.com/2012/01/image-uploads-on-wordpress-admin-screens-...
user avatar
2 votes
2 answers
1k views

Getting ID from ajax response of async-upload.php

Its a wordpress+jQuery question. Can't post it on stackoverflow because i believe it involves wordpress knowledge too. What I am trying to achieve: I am attaching the wordpress async media uploader ...
user avatar
  • 7,615
4 votes
1 answer
2k views

How to use Plupload in themes

I am developing a theme which needs uploading from front-end. I want to integrate plupload in my theme while keeping in mind that: Uploading will be handled upon form submission, and not from the ...
user avatar
  • 457
33 votes
3 answers
9k views

Plupload Intergration in a meta-box?

I know that plupload is going to be the new upload engine for WordPress 3.3 but I was wondering if there is any documentation yet on how it integrates with WordPress. My specifically how to collect ...
user avatar