1.1.0

Full Changelog: 1.0.2...1.1.0

  • Requires Flarum 1.2.0 or later ❗
  • Webpack 5
  • Bump js deps
  • Fixed (iamdarkle/fancybox4). The known annoying bug that pushed the view to the top of the post when closing the lightbox. (@Geraldlzc @Riche )
    • Previously - 1.0.2:

    • Now - 1.1.0:

♻ Update

composer require darkle/fancybox
php flarum cache:clear
    2 months later

    Is this extension ready to use? And how to install it?
    Thank you

    • Hari replied to this.

      Hari I don't understand the part with Cross-compatibility and Fancyapps(what license do I need?)

        artificialflow Cross compatibility means that it is compatible with the mentioned extensions enabled at the same time without causing problems or combining their features, regarding the license there are two, the one for the extension which is the implementation of the software (MIT, nothing to worry about) and another one for Fancybox, the software itself, managed by fancyapps.

        You can install the extension to test it and see if it fits your requirements as mentioned here (https://fancyapps.com/pricing/), after that you should buy a fancybox license and keep it personally (there is no special installation or place to put the license, it just gives you the right to use it if you are claimed at some point).

          6 days later

          1.1.1

          What's Changed

          Full Changelog: 1.1.0...1.1.1

          New Contributors

          ♻ Update

          composer require darkle/fancybox
          php flarum cache:clear

            Darkle
            Dear Sir,
            I am currently using:
            https://github.com/malago86/flarum-ext-fancybox
            The only reason is that it uses thumbnails when the article page loads
            I think this is very helpful for the readability of the article, especially on mobile phones, it is very concise.
            Imgur

            I've tried several versions of your Fancybox and it seems to be showing the original photo size on the article.
            I don't quite understand what is the difference between these codes
            In your version, is there any way to make the original article show thumbnails by default?
            This would be perfect for me.
            ps, sorry for my bad english ^^

              22 days later

              Darkle is it possible to stop it from catching emoticons from Flamoji as well?

                Subarist Sorry for the late reply, I really hadn't seen the message. This is not supported, at least not by default, but it could definitely be done, although it's something that will take more work as I think it should be something optional in the admin panel.

                1.1.2

                What's Changed

                Full Changelog: 1.1.1...1.1.2

                • Prevent Flamoji custom emojis from being captured by fancybox (hrvoje_hr This should be fixed)
                • Bump js deps

                ♻ Update

                composer require darkle/fancybox
                php flarum cache:clear

                  Darkle thx! I can confirm that it doesn't catch custom Flamoji emojis anymore

                  16 days later

                  This extension picks up all the images from the given post and uses the fancy box to display a slider gallery with small thumbs at the bottom.

                  I don't understand why it behaves like this. It's a fancybox extension, not a slider gallery extension.

                  There's another extension that works correctly: https://discuss.flarum.org/d/19535-fancybox-extension-beta

                  It isn't updated in a really long time. I hope this extension gets updated to only display the clicked image, instead of showing a gallery of all the images.

                    heyitsritesh It's not something particular to this extension, modern versions of fancybox work like this by default, but if you don't want the slider to appear it's something you can hide, the extension you're pointing to uses an older version of fancybox so I guess that's why it doesn't appear.

                      Darkle Got it, thanks. How do I hide the slider? I just want the clicked image to pop up. No thumbnails or sliders.

                        heyitsritesh You could compile your own version by adding that setting in the index.js or just use CSS to not show the slider, you would have to add this:

                        .fancybox__thumbs {display:none;}
                        a year later

                        ¡Gracias, esta mejor zoom funcionando!

                        5 months later

                        Thanks for the great extension! This is really helpful for photography and graphics threads to view images full screen.

                        I noticed you managed to suppress/ignore fof/reactions and Flamoji images from fancybox. Any chance you could suppress Country Flags images too please?
                        All of our threads are currently looking like this 😅