Thanks so much for the write up. Using js_module to define my own "gallery-dispatcher" module instead of using the YUI built in gallery functionality was the key.
General developer forum
YUI3 Galleries in Moodle 2.0
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.