WordPress.org

Ready to get started?Download WordPress

Forums

How to use plUpload in meta box for uploading images? (2 posts)

  1. TC.K
    Member
    Posted 2 years ago #

    Hi,
    Since wp already included plUpload in version 3.3, i think it is a good way to use it as the media uploader for handling the images upload.

    There are not much info regarding this issue. I did find a tutorial about how to use it at http://www.krishnakantsharma.com/2012/01/image-uploads-on-wordpress-admin-screens-using-jquery-and-new-plupload/ .

    The tutorial works but not complete, their are some disadvantages of the tutorial.
    1. There are no drag and drop interface.
    2. The uploaded file is not stored as attachment, so you won't see the uploaded file in media library.
    3. It use the full url to populate the images. You can directly store the url in the meta fields, but if multiple images stored, the all save in the single meta fields, with only "," to separate the urls. Eg. url1,url2, url3. This is hard to display the array in frontend (for noob like me).

    So if you guys know better way/source to learn how to use the plUpload in meta box?

    thanks

  2. RonStrilaeff
    Member
    Posted 1 year ago #

    Here is a lean and mean plugin that does exactly what it says:
    http://wordpress.org/extend/plugins/drag-drop-for-post-thumbnails/ , and leverages all the standard wordpress hooks to do it on the admin side.

    I'm working on a front end version of this for my own purposes using plupload and jcrop. If it is something that makes sense as a plugin, it maybe my first. There is a lot of interest in this nice frontend stuff, and I bet gravity forms or somebody will come out with something really great soon.

Topic Closed

This topic has been closed to new replies.

About this Topic