I understood that if I set a value besides the default "img" in Settings -> Galleria options -> Advanced settings -> Data image selector, Galleria will use the given selector. However, I have tried using "div" and "*" as selectors, and in both cases, only img elements are passed to the data config function I pass in.

(Note that data config seems to work fine, but data [image] selector hasn't shown me any visible behavior.)

CommentFileSizeAuthor
#1 data-selector.patch577 bytesbaratox
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

baratox’s picture

Issue summary: View changes
FileSize
577 bytes

Patch adds option dataSelector to the Galleria options (JavaScript).
It was only in the View admin interface.