Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In frequent use cases, images uploaded in bulk mode share the same authors and tags;
The attached patch would save a lot of typo, and would introduce a bulk insert mode of image atoms into gallery atom...
Comment | File | Size | Author |
---|---|---|---|
#2 | scald_image-implement-prefill-2026215-2.patch | 1.89 KB | jcisio |
#1 | scald_image-implement-prefill-2026215-1.patch | 1.92 KB | gifad |
Comments
Comment #1
gifad CreditAttribution: gifad commentedThe code below is copied from scald_youtube & others, who already implement this feature.
Comment #2
jcisio CreditAttribution: jcisio commentedPatch no longer applied. I fix it and improve the code. But I have problem with plupload when using in a modal: atoms could not be created. I don't have time to investigate, and the problem exists without this patch, so I'm just uploading it here.
Comment #3
nagy.balint CreditAttribution: nagy.balint commentedPatch works for me with the plupload issue fixed in #2068103: scald pupload broken in drupal 7.23
However there is an issue which i discovered earlier as well as i implemented similar functionality in custom module before. Is that when i type into the autocomplete field, the selection window is rendered elsewhere in the window, and for example in the default window size, when i scroll down and start to type the options are not on the screen i have to scroll up to the images to see the selection window. Not sure what is causing that.
Comment #4
jcisio CreditAttribution: jcisio commentedThanks for the review. The other bug is unrelated. Committed and pushed 351eb9a.
Comment #6
shortspoken CreditAttribution: shortspoken commentedWorks as expected! Thanks a lot! :)