WordPress.org

Ready to get started?Download WordPress

Forums

Drag & Drop for Post Thumbnails
[resolved] Works with WordPress Version 3.5 (3 posts)

  1. RonStrilaeff
    Member
    Posted 1 year ago #

    I have not done an exhaustive test, but it seems to work the same way it did earlier. Except for one minor thing ... if you use the new "Add Media" form of 3.5 to "Set Featured Image", the thumbnail image inside this plugin's dropzone does not refresh until after the post is saved. When this plugin is deactivated, the thumbnail image does refresh immediately ... just fyi

    http://wordpress.org/extend/plugins/drag-drop-for-post-thumbnails/

  2. RonStrilaeff
    Member
    Posted 1 year ago #

    More testing:

    In this plugin, The droppable file count should be limited to one, but it may be hard to do since I think there is minor bug (or misunderstanding) in the plupload js-plugin that this is based on. It seems to ignore the "multi_selection: false," setting.

    Right now, in this plugin, if I selected 4 images and dropped them onto the droparea, all of them get attached to the post and the last one becomes the thumbnail. I guess that's OK as long as the user understands that.

    That multi-file drop ability is the default for the WP version 3.5 media uploader (which is vastly improved IMHO).

    By the way, in order to implement this D&D functionality on a user-facing submit form in a page template (like a contact form), I'm digging in to the plupload API (and ajax and jCrop which is stretching my comprehension of js).

    Thanks Tobias for the inspiration, and I will share my code with you when I get it all working.

  3. Tobias Nygren
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Ron! Thanks for your input! This plugin was more of a experiment in with the features of 3.3 capabilities. I've tried to use the built in features as much as possible (even down to the js) but it's not that easy anymore. Have new version of the plugin in the works, and hopefully I'll get it out the door during this years holidays..

    Good luck with your project and keep me posted!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.