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.
On the Edit Images page (reached from the menu at the top of the main gallery page), the drag handles are not working, and the images cannot be re-ordered.
In fact, it appears that javascript isn't working on this page at all. I have a node reference field attached to the Gallery Image content type that is supposed to dynamically suggest values, but doesn't work on this page either.
Comments
Comment #1
seehawk CreditAttribution: seehawk commentedSome addition info: this is an issue in both Firefox and IE.
Comment #2
dddave CreditAttribution: dddave commentedNo problem here. Reordering works just fine.
Disturbing is the fact that after hitting the save button I get again to the Upload bar telling me that the images are uploading which would be unneccessary, wouldn't it?
The reordering should take place on the server without a new upload. Is this just a user interface problem?
edit: opened a new issue for this #483046: Edit Images Optimization
Comment #3
seehawk CreditAttribution: seehawk commentedI went back and looked at it again. On further review, the issue is only occurring when I have a multi-value node reference field showing on the edit images page. That field has drag handles as well, so something about the combination of the two is preventing either set of handles from working.
Once the node reference field is removed, everything works normally. But, I'd like to have that node reference field available for cross-posting of images.
Comment #4
dddave CreditAttribution: dddave commentedComment #5
wilson98 CreditAttribution: wilson98 commentedthe drag handle implementation in edit images form is a bad hack currently, i still don't figure it out a better way to implement it, sorry.
Comment #6
seehawk CreditAttribution: seehawk commentedI'm not sure what you mean.
Comment #7
seehawk CreditAttribution: seehawk commentedLooks like some great progress has been made on this front! However, the behavior is now that the drag handles appear on the node reference fields for the first image in the list, and all other node reference fields get the "Order" column.
Apart from that, reordering of node reference fields within a single image and reordering of the images themselves works fine.
Comment #8
kmontyIs anyone still encountering this problem? Is anyone using jQuery update? jQuery update breaks the drag handles in other modules as well
Comment #9
dbeall CreditAttribution: dbeall commentedI had issues with jQuery update and stopped using it many months ago. probably the reason I have not had node gallery problems using it.
Comment #10
kmontyMarking this as fixed (via alpha 7-10) as there has not been further complaints about this. I have not have a problem with reordering nodes with nodereference fields. Please reopen if the issue arrises again for you.