Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a system in place to allow users to upload files, once they have done this they are thrown into a plugin to allow them to perform various cropping (on the main image and the configured thumbnails).

My problem is that if I upload multiple files it causes issues as the user can only work on one file at a time.

Is there anyway that I can restrict the drag and drop uploader to only accept one file upload at a time? I know that there is the option of the old HTML uploader which does one at a time, but I would prefer to retain the drag and drop option.

Thx

Richard

share|improve this question
add comment

1 Answer 1

Kind of hard without understanding how you are arriving to a plugin for editing, but perhaps the user should have the option to choose which file they wish to edit instead of this automatically happening. Similar to how you "choose" which image you want to use as a featured image, for example. This way multiple files can come in, but then they are edited separately. Is there a way to add an "edit" link to the gallery dialogue I wonder?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.