Normal view

Full Upload with Drag and Drop AND Drag and Drop sorting functionality of File/Image field? Usability advice needed

Use case: classified ads type site where user has opportunity to attach many images through dedicated File/Image field. How many? 20+ maybe 30+. That is important!

The problem that built in core file uploader has some bugs (as in https://www.drupal.org/project/drupal/issues/3548630) and totally break down if one image is does not comply to the set requirements of width x height.

So for that I am using PLupload module, which solves that issue. It just drops image files which are outside allowed dimensions.

Another issue is that even if all the uploading works, like with PLupload module - the built-in Drupal core image sorter has table-like wrapper with <li> items, so all the sorting is made just vertically. It is perfectly ok if we use 3-5 images, but not ok if there are 20-50 images. It is a usability nightmare from end user standpoint.

I found that https://www.drupal.org/project/dropzonejs module should offer vertical and horizontal drag and drop sorting, but I have no luck to get it working on the File/image field no matter what I try.

Just me have no luck with that module or there are other selections?

What would be your solutions to this? Thank you in advance.

submitted by /u/Regular_Fake_Name
[link] [comments]

Restricting taxonomy term selection on field?

For example I have taxonomy terms vocabulary of "Fruits" which consist of:

-Apple
-Banana
-Pear
-Dragonfruit
-Pineapple

On one field I want to have selection from limited range:

-Apple
-Banana
-Pear

On the other from:

-Pear
-Dragonfruit
-Pineapple

And so on.
Basically I want to limit taxonomy depending on the field. Now there are no form selection widgets to do that, the only option is to display all the terms of the "Fruits"

Is there a module for that? Multiple parents somehow probably could help, but still there is no widget to limit selection to terms of particular parent, but that is even more of a problem as in this case multiple parents are more of a structural problem. Hierarchical selection modules (I think) do not work in this case.

Also all the terms have to be in the same vocabulary. No multiple vocabularies with term duplication.

Any ideas are welcome. Drupal 11.

submitted by /u/Regular_Fake_Name
[link] [comments]
❌