• davidpike7

    (@davidpike7)


    Hello mate, love the plugin.

    I’m just experimenting on my own project using plupload on the frontend of a theme.

    At the moment I’m using the default custom code demo, which I noticed is quite similar to your own. I’ve got it working so it uploads to the ‘uploads’ directory. However I was wondering how you integrated this with the WP media library?

    Whenever I’ve tried to use wp_handle_upload() on the contents of the $_FILES[‘file’] I get a 500 error. I’ve also thought about just using wp_insert_attachment() once I’ve uploaded it but ideally I’d like to use wp_handle_upload() so it generates all the thumbnails etc.

    I had the code working with a standard POST so not sure if it’s anything to do with sending the file with AJAX?

    Any thoughts would be much appreciated

    Thanks

    David

    http://wordpress.org/extend/plugins/front-end-upload/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Jon Christopher

    (@jchristopher)

    Hi David, the Pro version will allow you to move uploaded files to the Media library:

    http://mondaybynoon.com/store/front-end-upload-pro/

    Thread Starter davidpike7

    (@davidpike7)

    Appreciate the suggestion but I’m building something quite custom, so I won’t be using the plugin itself.

    I’m just having a look at your code for inspiration because I’m planning to use plupload too.

    Would appreciate the advice though or any chance you could point me in the right direction?

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Front End Upload] Moving files to Media Library’ is closed to new replies.