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.
For some strange reason when I hover an Image in any album I only get the gear symbol in the top right of the image, but not the drag-and-drop pointer in the top left corner of the image. So I can't drag and drop my images to change the order.
Anybody know how to fix this?
Latest Zen theme and Drupal 7.12.
Thanks!
Comments
Comment #1
Threesa CreditAttribution: Threesa commentedFixed! It had to do with the jQuery selector for Media Gallery.
In media_gallery.dragdrop.js on line 18 change
var $gallery = $('body.page-node #block-system-main .node-media-gallery .media-gallery-media > .field-items').once('media-gallery-sortable');
To
var $gallery = $('body.page-node .node-media-gallery .media-gallery-media > .field-items').once('media-gallery-sortable');
So simply remove #block-system-main ;-)
Comment #2
Threesa CreditAttribution: Threesa commentedSee above ;-)