Last Updated: May 20, 2026Write CSS that applies only to a specific Gallery — automatically scoped so it won't affect the rest of your page. Use the SELECTOR keyword to target the Gallery's outer wrapper element directly.
Last Updated: May 20, 2026Write JavaScript that runs after a specific Gallery initialises on the page — hook into Gallery events, modify behaviour, or integrate with third-party scripts, with built-in security restrictions for non-admin users.
Last Updated: May 20, 2026Custom events, HTML trigger attributes, the data-fg-lb-* settings system, and the REST endpoint used by the Lightbox info panel.