Answer the question
In order to leave comments, you need to log in
How to add a bunch of images in Drupal or another cms with one click, and then tag them?
The essence of the task is simple: you need to create an image gallery, but at the same time, so that you can attach the following data to each image:
- author
- tags
- other additional fields.
At the same time, it is necessary to allow users to upload several images at once, and only after that ask them to prescribe characteristics for each uploaded image.
Those. the image will be a full-fledged material.
Question - how to do it specifically on Drupal? Or maybe in another cms/framework?
Answer the question
In order to leave comments, you need to log in
there is a solution out of the box! doing this right now)
https://www.drupal.org/project/bulk_file_nodes
+ https://www.drupal.org/project/plupload
I think there will be no such solution anywhere out of the box (but I could be wrong).
Specifically on Drupal - I just did something similar. I can say that there is no ready-made module for this, so I had to write a crutch myself.
I did it like this: I added 2 fields - one with a picture and a multiple loading widget, the other - a field collection (the module adds a new type of entity to which fields can be bound as a node, and these entities themselves can be entered into any other field with the type Field Collection), then in the save hook of the node, I removed the pictures added to the first field, and for each of these pictures I created a new fild_collection_item, put the picture there and saved it to the second field.
In short, the path is not the Jedi, but if you do not want to kill a lot of time, then perhaps the only possible one. Now I don’t know if I will dig out all the code that I wrote, but I can give something if necessary.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question