As you know, The XenForo Media Gallery is an add-on that allows you and your users to create galleries of images, videos, and audio in your forum, organized into admin-defined categories or user-created albums.
When you examine the XFMG structure completely, you can see that it is flawless. But...