FastChen That's definitely something I'd like to add in the future. My intention was to keep things simple for two reasons, first, to ensure quick compatibility with the release of Flarum 2.0, and second, because the creator of fancyapps/fancybox has been working (I believe since early this year) on the next version. I plan to update to that version soon, unlike with v5, which I adopted quite late.
So, for v6, I'll likely consider adding admin settings to enable or disable all components (fancybox, carousel, and panzoom).
I'm not entirely sure, but I think if you remove the references to WrapImagesInGallery.php
, it should stop wrapping images in galleries and treat them as separate images.