I’m using the Galleria plugin in an AP div that is elastic. Galleria centers and crops itself nicely on page load but doesn’t handle resizing so gracefully. If I resize and then reload the page, it looks great, so I’m wondering if there is a way to unload/reload the plugin ONLY on resize?
Share
if the galleria plugin has a destroy method, use that. but if not, maybe you could try clearing the HTML to it’s state before the plugin was originally loaded: effectively resetting the galleria’s parent element to empty. maybe use something like